[fpc-devel] NowUTC in the RTL
XHajT03 at hajny.biz
Fri Dec 9 13:13:34 CET 2011
On Fri, December 9, 2011 13:07, Jonas Maebe wrote:
> On 09 Dec 2011, at 12:28, Michael Van Canneyt wrote:
>> The linux kernel returns UTC time, it always has. Now() converts
>> this to local time.
>> (as does libc). All NowUTC needs to do is return the kernel time.
> It should only be called NowUTC if it is defined as always returning
> UTC on all platforms.
Obviously assuming that something like that is possible on a certain
platform at all (GO32v2 not having the TZ environment variable defined
will simply never be able to provide UTC time; in fact, the same applies
for OS/2 / eCS too).
More information about the fpc-devel