title: how to get today's date in java(yyyy-mm-dd)
body: <p>how could I get today's date (current system date) on format yyyy-mm-dd (just date and not dateTime) to compare with some other dates of the same format.</p>