Results 1 to 6 of 6

Thread: Time zone in VB

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Mar 2011
    Posts
    108

    Time zone in VB

    Good evening,

    Does anyone knows an VB6 application, or DLL, that can give the Time Zone offset and DST rules for a specific location, or region?
    I know the Olson database. But I can't seem to find one VB6 application of it. And the DLLs I've found are hard to implement (in C# .NET).

    Kind regards,

    JKepler

  2. #2
    Fanatic Member DrUnicode's Avatar
    Join Date
    Mar 2008
    Location
    Natal, Brazil
    Posts
    631

    Re: Time zone in VB

    This Vb6 program (with source code) will extract and display all Time Zone info:
    http://www.cyberactivex.com/download/WorldTimes.zip

    Name:  WorldTimes.jpg
Views: 389
Size:  72.8 KB
    Last edited by DrUnicode; Aug 14th, 2014 at 02:37 PM. Reason: Screenshot

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Mar 2011
    Posts
    108

    Re: Time zone in VB

    Very good program

    Thanks Dr. But what about historical times? Does it works on that?... I wonder...

    Regards,

    Jkepler

  4. #4
    Fanatic Member DrUnicode's Avatar
    Join Date
    Mar 2008
    Location
    Natal, Brazil
    Posts
    631

    Re: Time zone in VB

    What are historical times? Do you mean when some country changes their start/stop dates for daylight savings?
    AFAIK these get updated with a new version of Windows, otherwise you would have to update a registry value to do it yourself.

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Mar 2011
    Posts
    108

    Re: Time zone in VB

    Hi, No. I mean for instance for the year 1967 in a determined region; does windows has the rules for this year?

    JKepler

  6. #6
    Fanatic Member DrUnicode's Avatar
    Join Date
    Mar 2008
    Location
    Natal, Brazil
    Posts
    631

    Re: Time zone in VB

    I mean for instance for the year 1967 in a determined region; does windows has the rules for this year?
    AFAIK only the latest Time Zone rules are available in Windows.
    For historical values you may want to check:
    http://www.iana.org/time-zones/repository/tz-link.html
    Other links try google with this search phrase "historical daylight values time zone information"

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