in reply to questions about strftime

86400 is one day's worth of seconds. You are looking at a time that is one day prior to this file's modification time.

The condition in that if can never be true, by the way; and that call to POSIX::strftime, if it even works, is an ugly hack.

Replies are listed 'Best First'.
Re^2: questions about strftime
by tcf03 (Deacon) on Jan 10, 2005 at 21:50 UTC
    I see your point about the if statement, thanks...
    the problem is when I look at the file (its ntfs) the date on the file is for arguments sake Jan 9, the day it is modified. When I run the above code against the file it always returns January 10 or 1 day more than the file modification time shown by windows.