title: How to get year, month, day, hours, minutes, seconds and milliseconds of the current moment in Java?
body: <p>How can I get the year, month, day, hours, minutes, seconds and milliseconds of the current moment in Java? I would like to have them as <code>Strings</code>.</p>