This is probably a very simple matter, but I would like to get the current day in milliseconds; that is, the Unix Timestamp at midnight of the current day. I know that I could do it by having
long time = System.currentTimeMillis() - new DateTime().millisOfDay().getMillis;
But, is there a way to do this simpler? Like, is there a way to do this is one line without subtracting?