Francisco Reyes writes:
Is the time displayed in UTC? Seems to be.
Any way to make the time displayed be my timezone?
Nevermind that...
Was confused because the date was in a different format..
You pointed me in the right direction and finished the program.
__
Pete Cervasio writes:
TDateTime values. Look for UnixToDateTime and DateTimeToUnix in DateUtils.
The documentation I have must be old (even though I got it a few days ago
from the website). It says those functions are not implemented, yet I was
able to use it.
Is the time displayed in UTC
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 UnixT
Francisco Reyes writes:
Trying the fstat function and don't seem to be getting the right values for
ctime, mtime and atime.
-- filedate.pp
uses BaseUnix,DateUtils,SysUtils;
var
info : stat ;
begin
if fpstat ('myfile.txt' , info) <>0 then
begin
writeln ('Fstat failed . Errno : ' ,