Results 1 to 3 of 3

Thread: TimeZone

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2001
    Location
    Kerala, India
    Posts
    42

    TimeZone

    Hi
    I want to get the timezone info.
    plz, convert this c statements to corresponding VB statements.
    DWORD GetTimeZoneInformation(LPTIME_ZONE_INFORMATION lpTimeZoneInformation
    // address of
    // time-zone settings
    );
    typedef struct _TIME_ZONE_INFORMATION { // tzi
    LONG Bias;
    WCHAR StandardName[ 32 ];
    SYSTEMTIME StandardDate;
    LONG StandardBias;
    WCHAR DaylightName[ 32 ];
    SYSTEMTIME DaylightDate;
    LONG DaylightBias;
    } TIME_ZONE_INFORMATION;
    GetHelp <-> LetHelp

  2. #2
    Member
    Join Date
    Sep 2000
    Posts
    39

    Look in API viewer for more functions and declares

    Here is what you asked for, I am sure you will need more info. Just look in the API viewer that comes with VB.

    Public Type TIME_ZONE_INFORMATION
    Bias As Long
    StandardName(32) As Integer
    StandardDate As SYSTEMTIME
    StandardBias As Long
    DaylightName(32) As Integer
    DaylightDate As SYSTEMTIME
    DaylightBias As Long
    End Type

    Public Declare Function GetTimeZoneInformation Lib "kernel32" Alias "GetTimeZoneInformation" (lpTimeZoneInformation As TIME_ZONE_INFORMATION) As Long

  3. #3

    Thread Starter
    Member
    Join Date
    Feb 2001
    Location
    Kerala, India
    Posts
    42

    Thanx

    thanx shtirliz,
    I forgot to check apiviewer
    GetHelp <-> LetHelp

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