[fpc-pascal] getting UTC time

Martin Schreiber mse00000 at gmail.com
Mon Jul 11 07:31:04 CEST 2011


On Sunday 10 July 2011 21:20:06 Bernd wrote:
> Is there an easy (or elegant) cross platform way of getting the
> current time in UTC that works on all platforms?

MSEgui has nowutc() in lib/common/kernel/msesys.pas. It calls 
platformdependent sys_getutctime() which is implemented for Linux and 
Windows.

Martin



More information about the fpc-pascal mailing list