Does PowerBuilder Classic have any support for working with time zones, especially in regards to web service calls? I am looking for something like .NET’s DateTimeOffset class.
Does PowerBuilder Classic have any support for working with time zones, especially in regards
Share
I am not aware of a native support, but you can work around with the system API:
GetTimeOfDayInfo()(seems undocumented? from kernel32.dll)TIME_OF_DAY_INFOstruct from Lm.hNetRemoteTOD()(from netapi32.dll)LocalhostTOD()(also undocumented? from netapi32.dll)There is an example on the Real’s Howto : Get the time and date from a server