[fpc-pascal] convert st_mtime from BaseUnix.FpStat to year, month, day, hour, minute, sec

Bruce Bauman bruce.bauman at andesaservices.com
Fri Nov 20 23:49:22 CET 2009


I need to convert the st_time field of the record returned by BaseUnix.FpStat to the year, month, day, hour, minute and second and need to compensate for the local timezone.
 
I've read over the RTL documentation and am thoroughly confused. Some of the documentation of the interfaces say that they are unimplemented and will raise an exception. Others just appear to be missing.
 
How can I accompilish this? Any example code?
 
-- Bruce

 
CONFIDENTIALITY NOTICE: This e-mail is confidential and intended
solely for the use of the individual or entity to which it is addressed.  If
you are not the intended recipient, be advised that you have received 
this email in error and that any use, dissemination, forwarding, printing 
or copying of this e-mail is strictly prohibited. If you received this e-mail
in error, please delete it from your computer and contact the sender.




More information about the fpc-pascal mailing list