Hello,
I am new to the forum. I am working on a problem where I show time form client machine in my Struts application but I have to chnage it to show server time. Can someone help me how I get time from JBoss?
Thanks in advance.
Regards,
Srini
Where do you have to show the server time? You can get the server time using:
new Date(System.currentTimeMillis());