Using Window's Time Zones

Author Message
killiank

  • Total Posts : 1
  • Scores: 0
  • Reward points : 0
  • Joined: 10/19/2007
  • Status: offline
Using Window's Time Zones Friday, October 19, 2007 5:24 AM (permalink)
0
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 on Friday, October 19, 2007 5:26 AM>
 
#1
    webber123456

    • Total Posts : 58
    • Scores: 0
    • Reward points : 0
    • Joined: 9/20/2007
    • Status: offline
    RE: Using Window's Time Zones Saturday, October 20, 2007 7:37 AM (permalink)
    0
    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

     
    #2

      Online Bookmarks Sharing: Share/Bookmark

      Jump to:

      Current active users

      There are 0 members and 1 guests.

      Icon Legend and Permission

      • 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
      • Read Message
      • Post New Thread
      • Reply to message
      • Post New Poll
      • Submit Vote
      • Post reward post
      • Delete my own posts
      • Delete my own threads
      • Rate post

      2000-2012 ASPPlayground.NET Forum Version 3.9