Is it posible to do this in PB?
Have looked into the forum but with no results.

Appreciate any help

Code: Select all
EnableExplicit
Define TIME_ZONE_INFORMATION.TIME_ZONE_INFORMATION
Select GetTimeZoneInformation_(TIME_ZONE_INFORMATION)
Case #TIME_ZONE_ID_UNKNOWN
Debug "Daylight saving time is not used in the current time zone, because there are no transition dates or automatic adjustment for daylight saving time is disabled."
Case #TIME_ZONE_ID_STANDARD
Debug "The system is operating in the range covered by the StandardDate member of the TIME_ZONE_INFORMATION structure. "
Case #TIME_ZONE_ID_DAYLIGHT
Debug "The system is operating in the range covered by the DaylightDate member of the TIME_ZONE_INFORMATION structure."
EndSelect