[fpc-devel] NowUTC in the RTL

Jonas Maebe jonas.maebe at elis.ugent.be
Fri Dec 9 14:00:00 CET 2011


On 09 Dec 2011, at 13:47, Michael Van Canneyt wrote:

> I know nothing about OS/2-eCS, but the same arguments as for Go32V2  
> apply as far as I am concerned. If all these platforms can guarantee  
> returning correct UTC time, I do not see why we would not introduce  
> it.

Afaik the original point was that some people were interested in some  
kind of timestamp that does not jump around (except possibly when  
overflowing). I don't think anyone particularly needed "the time in  
UTC". Therefore, something like FPGetTickCount seems much more  
appropriate than NowUTC, and it also solves the problem that some  
targets may not support returning the time in UTC.


Jonas



More information about the fpc-devel mailing list