[fpc-devel] NowUTC in FPC
    Marco van de Voort 
    marcov at stack.nl
       
    Wed Jul 20 14:31:57 CEST 2016
    
    
  
In our previous episode, Denis Kozlov said:
> Is it possible to move NowUTC from LazUTF8SysUtils.NowUTC to FPC, e.g.
> DateUtils?
> 
> LocalTimeToUniversal(Now) is inefficient and suffers from a race condition,
> but can still be used as a fallback implementation.
Isn't that horribly misnamed? It seems to get system time without additional
timezone corrections by FPC, but there is no guarantee that that is UTC?
    
    
More information about the fpc-devel
mailing list