Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Mar 2006
    Posts
    187
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Time and Date Zones

    Im currently creating an asp web site, im going to have a guest book page so that people can post messages, i want the time to be recorded with the message which i can do, the problem is that i will probably be using a hoast in a different time zone and i want the times to be recorded to match the GMT (with daylight savings) time zone. how can i set this up in asp? Thanks for any help

  • #2
    Senior Coder Spudhead's Avatar
    Join Date
    Jun 2002
    Location
    London, UK
    Posts
    1,856
    Thanks
    8
    Thanked 110 Times in 109 Posts
    1. Find out what time zone your server is in.
    2. Find out what the offset is between that and GMT
    3. Add/subtract hours.


  • #3
    Senior Coder
    Join Date
    Nov 2002
    Location
    North-East, UK
    Posts
    1,265
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Also check with your database/server. Some have inbuilt functions for GMT.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •