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
java.lang.System.currentTimeMillis(); will return the datetime since the epoch
java.lang.System.currentTimeMillis();