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

2009-11-23 Thread Bruce Bauman
To: FPC-Pascal users discussions Subject: Re: [fpc-pascal] convert st_mtime from BaseUnix.FpStat to year, month,day, hour, minute, sec On 23 Nov 2009, at 00:42, Bruce Bauman wrote: > If you look at the HTML documentation: > > http://www.freepascal.org/docs-html/rtl/

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

2009-11-23 Thread Jonas Maebe
On 23 Nov 2009, at 00:42, Bruce Bauman wrote: If you look at the HTML documentation: http://www.freepascal.org/docs-html/rtl/dateutils/datetimetounix.html under Description it says: Not yet implemented under "Errors" it says: Currently, trying to use this function will raise an exception

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

2009-11-20 Thread Jonas Maebe
On 20 Nov 2009, at 23:49, Bruce Bauman wrote: > 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. The dateutils unit contains the following functions that you can use

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

2009-11-20 Thread Bruce Bauman
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 th