[Lazarus] Is there a function that returns UTC time in FPC or Lazarus?
vfclists at gmail.com
Sat Mar 31 13:27:11 CEST 2012
On 30 March 2012 15:05, Frank Church <vfclists at gmail.com> 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?
> Frank Church
PascalTZ appears to be the most recommended one. I will go with it and
see. If it comes to the worst, I will consider looking up the time
from an NTP server to see how it compares as a check.
More information about the Lazarus