Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Using Window's Time Zones

 
Logged in as: Guest
arrSession:exec spGetSession 2,3,52850
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP >> Using Window's Time Zones
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Using Window's Time Zones - 10/19/2007 4:24:49 AM   
  killiank

 

Posts: 1
Score: 0
Joined: 10/19/2007
Status: offline
Does anyone know if it is possible to use ASP to get timezone information from MS Windows? I know that I can get info about what zone windows is currently set at and what the UTC offset is. However, I need to be able to know what time it is in Austrailia or Hawaii.

I know I can code it to calculate from UTC or the local time, but since Windows keeps up with the time zones and DST changes, it would be nice for my application to work accurately just by keeping up with the proper windows patches.

Any ideas?

< Message edited by killiank -- 10/19/2007 4:26:33 AM >
 
 
Post #: 1
 
 RE: Using Window's Time Zones - 10/20/2007 6:37:43 AM   
  webber123456

 

Posts: 37
Score: 0
Joined: 9/20/2007
Status: offline
if you know the server time zone -- add or subtract hours for other desired time zones

http://www.siteexperts.com/tips/functions/ts22/timing.asp

(in reply to killiank)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> ASP >> Using Window's Time Zones Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts