[fpc-pascal] Re: fstat usage

Pete Cervasio cervasio at airmail.net
Mon Dec 8 19:31:07 CET 2008


On Monday 08 December 2008 10:22:25 Francisco Reyes wrote:
> Francisco Reyes writes:
> > Trying the fstat function and don't seem to be getting the right values
> > for ctime, mtime and atime.

Those values are Unix timestamp values.  You need to convert them into 
TDateTime values.  Look for UnixToDateTime and DateTimeToUnix in DateUtils.


Best regards,
Pete C.




More information about the fpc-pascal mailing list