[fpc-devel] NowUTC in the RTL

Michael Van Canneyt michael at freepascal.org
Fri Dec 9 13:37:28 CET 2011



On Fri, 9 Dec 2011, 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 :)

Michael.



More information about the fpc-devel mailing list