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

2012-03-31 Thread Reinier Olislagers
On 31-3-2012 2:56, João Marcelo Vaz wrote: 2012/3/30 Reinier Olislagers reinierolislag...@gmail.com mailto:reinierolislag...@gmail.com On 30-3-2012 16:05, Frank Church wrote: Is there a function that returns the UTC time, either as a UnixTime or TDateTime irregardless of

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

2012-03-31 Thread Felipe Monteiro de Carvalho
In the package lazutils there is: unit lazutf8sysutils; function NowUTC: TDateTime; function GetTickCount64: QWord; -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

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

2012-03-31 Thread Frank Church
On 30 March 2012 15:05, Frank Church vfcli...@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

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

2012-03-30 Thread Frank Church
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 === http://devblog.brahmancreations.com

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

2012-03-30 Thread Reinier Olislagers
On 30-3-2012 16: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? Frank, You could search the fpc

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

2012-03-30 Thread João Marcelo Vaz
2012/3/30 Reinier Olislagers reinierolislag...@gmail.com On 30-3-2012 16: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

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

2012-03-30 Thread waldo kitty
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