For sake of completeness, if you are using Java 8 you can also use the truncatedTo method of the Instant class to get midnight in UTC.
Instant.now().truncatedTo(ChronoUnit.DAYS);
As written in the Javadoc
For example, truncating with the MINUTES unit will round down to the nearest minute, setting the seconds and nanoseconds to zero.
Hope it helps.