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/
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
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
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