Client machine's date & time

0
0

How to get the client machine’s date and time? In normal ASP form, we can get through javascript and a hidden field. But, in WiseJ, if I call datetime function it shows only server datetime. Could you please explain with sample.

  • You must to post comments
0
0

Perfect. Thanks a lot.

  • You must to post comments
0
0

Use dt.ToClientTime() or dt.ToClientTime(tzOffset). For the current date use DateTime.Now.ToClientTime(); Wisej, unlike ASP.NET, already handles the time zone difference between the clients and server.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.