Re: [fpc-devel] FPC V3.0.0 LocalTimeToUniversal() error
Thank you Marco, works perfectly. Russell ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
[fpc-devel] FPC V3.0.0 LocalTimeToUniversal() error
Hi, My local time zone is GMT +2, and have noticed that with V3.0.0, that the LocalTimeToUniversal() function is adding the offset instead of subtracting it: uses sysutils, dateutils; var LocalTime: TDateTime; begin LocalTime := Now(); writeln('Offset :', GetLocalTimeOffset()); w