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 _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal