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.
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.
Please login first to submit.