[jboss-user] [Beginners Corner] - Re: Getting system time from JBoss

jaikiran do-not-reply at jboss.com
Mon Oct 8 03:52:08 EDT 2007


Where do you have to show the server time? You can get the server time using:

new Date(System.currentTimeMillis());

This piece of code, when run on the server will give you the server time.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092422#4092422

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4092422



More information about the jboss-user mailing list