Found a way to print current time.

It's a start.
I found it at:
http://www.tutorialspoint.com/java/java_date_time.htm