On Thu, 30 Oct 2014, Mattias Gaertner wrote:
Hi, The docs of FileAge does not mention if timezone is used or not. http://lazarus-ccr.sourceforge.net/docs/rtl/sysutils/fileage.html Is the returned OS time stamp with or without timezone?
That depends on the OS. FileAge returns whatever the OS returns. The following is based on memory alone, needs to be checked in code: It doesn't do any transformations, so I expect it actually to be UTC. Only when converting to TDateTime is the timzeone introduced. Michael. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal