Page 1 of 1

Local FileDate (PB4.0)

Posted: Wed Feb 22, 2006 9:57 am
by horst
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