| Author |
how to get server time and client time
|
bappa
Greenhorn
Joined: Mar 11, 2008
Posts: 15
|
|
Hi Friends, I want a program to get the time of server as well as client. By only java servlet. Any help in this regard is highly appreciated. Thanks in advance.
|
S K B<br />SCJP 1.5 (83%)
|
 |
Jigar Naik
Ranch Hand
Joined: Dec 12, 2006
Posts: 744
|
|
As long as i know there is no straight forward way of doing it. you can send client time as a request parameter to the servlet and you can get the client time using java script.
|
Jigar Naik
|
 |
Syed Saifuddin
Ranch Hand
Joined: Sep 01, 2003
Posts: 129
|
|
Hi The solution for client side is javascript and over server you have java.util.Date
|
Thank You & Best Regards,
Syed Saifuddin,
Senior Software Engineer
SAP Oracle AIX & Java Training
http://www.socialinet.com
|
 |
 |
I agree. Here's the link: jrebel
|
|
subject: how to get server time and client time
|
|
|