You also need to know where you are. States like Arizona don't use daylight savings time, and countries in Europe go to DST on dates other than the first Sunday in April.
You can call a Win32 API function to find out this info.
[tt]
Public Type SYSTEMTIME
wYear As Integer
wMonth As Integer
wDayOfWeek As Integer
wDay As Integer
wHour As Integer
wMinute As Integer
wSecond As Integer
wMilliseconds As Integer
End Type
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
[/tt]
After calling the GetTimeZoneInformation function, examine the DaylightDate structure to find out when the change to daylight savings begins, and examine the StandardDate structure to find out when the change from daylight savings begins.
Hope this helps.
Chip H.