How do I get the current date and time in Java?
I am looking for something that is equivalent to DateTime.Now from C#.
DateTime.Now
In Java 8 it's:
ZonedDateTime dateTime = ZonedDateTime.now();