I would like to get the current date in milliseconds with only year, month and date. But when I use this code:
Calendar cal = Calendar.getInstance(); cal.cle
If you want to use Joda time:
long millis = new DateMidnight().getMillis();