Results 1 to 4 of 4
  1. #1
    Lounger
    Join Date
    Sep 2004
    Location
    Nashville, Tennessee, USA
    Posts
    32
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Word modified date (2003)

    Daylight Saving Time has tossed me a curve this year. I have a VB program that scans various directories and compares the document modified date against a database of document names to determine if the document has been modified. For the first time many documents are being picked up since the modified date has changed by one hour by DST. I know this date is actually GMT and displayed in local time by a conversion in the OS. Is there a way to capture the actual GMT datetime and use that to compare?

    Bob

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Word modified date (2003)

    The thread starting at <post:=531,501>post 531,501</post:> discusses how to extract time zone information from the registry.

  3. #3
    Lounger
    Join Date
    Sep 2004
    Location
    Nashville, Tennessee, USA
    Posts
    32
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Word modified date (2003)

    Appreciate the response and I looked at the info you referenced but I couldn't determine how to extract the original GMT time without the bias or the system adjusting for Daylight Savings. The adjustment is what is causing my date comparison to fail.

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Word modified date (2003)

    If it's too difficult, I'd let it be. These things will always be a PITA.

Posting Permissions

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