Results 1 to 2 of 2

Thread: Convert Time to UTC

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2000
    Location
    Atlanta, GA
    Posts
    80

    Question

    What is the best way to convert the local time to UTC? Accounting for Daylight Savings, etc whenever it is in effect.

    And vice versa...
    Kevin

  2. #2
    Lively Member
    Join Date
    Apr 2001
    Location
    Central NC
    Posts
    75
    Calling the API routine GetSystemTime will place the current UTC in the specified SYSTEMTIME structure.

    Note that this applies only to the US, Even in the international versions, Microsoft admits to not being very good at determining local daylight savings cutover dates.

Posting Permissions

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



Click Here to Expand Forum to Full Width