Local FileDate (PB4.0)
Posted: Wed Feb 22, 2006 9:57 am
Would be nice to have an optional flag #PB_Date_Local to get the local time+date instead of UTC. Then we would not need this procedure (Win):
Code: Select all
Procedure UTCtoLocal(UTCdate)
GetTimeZoneInformation_(@tzi.TIME_ZONE_INFORMATION)
ProcedureReturn UTCdate - tzi\bias * 60
EndProcedure