[Lazarus] Is there a function that returns UTC time in FPC or Lazarus?

waldo kitty wkitty42 at windstream.net
Sat Mar 31 05:07:58 CEST 2012


On 3/30/2012 10:05, Frank Church wrote:
> When I get the time via the DateTime function result is adapted for
> the timezone, making it an hour ahead now?
>
> Is there a function that returns the UTC time, either as a UnixTime or
> TDateTime irregardless of timezone?

where are you reading from? the RTC or the OS clock?




More information about the Lazarus mailing list