SyntaxFix
Write A Post
Hire A Developer
Questions
new Date().toString();
http://www.mkyong.com/java/java-how-to-get-current-date-time-date-and-calender/
Dateformatter can make it to any string you want