Forums

ASP

This topic is locked

In ASP

Posted 24 Oct 2005 06:41:23
1
has voted
24 Oct 2005 06:41:23 antony casimir posted:
Hi
Can give an any idea on how we can create each coutry time?.I know

that from the GMT.but i wanna ,whoever choose the country the

automatically the exact country time to be show.what i did that i

calculated from the System time.In my system ok which is not

corrected.On web oriented Suppose the any one from US to view UK

timing .that will be incorrect.The Clock has not shown correct time.
Can you give any suggestion for me.
thanking you
regards
rex

Replies

Replied 26 Oct 2005 12:38:00
26 Oct 2005 12:38:00 Patrick Woldberg replied:
In VB

You could use something like:

gmtTime = DateAdd("h", serverTimeZone, Now)
clientTime = DateAdd("h", clientTimeZone, gmtTime)

--------------------------------------------------
Patrick Woldberg
Web Developer at Dynamic Zones
Administrator at DMXzone.com, FLzone.net, FWzone.net and DNzone.com
--------------------------------------------------

Reply to this topic