becca23 has asked for the wisdom of the Perl Monks concerning the following question:
The problem is, the timestamp of the file is one hour off from the actual system time. It is very important that this returns the correct time, if it doesn't, all my actions will be delayed an hour! Is this a daylight savings or time zone issue with ctime()? Update: I checked the timestamp of the file using the GUI and noticed that it was off by an hour also, so maybe this is a different issue, one with the OS?$stamp = ctime(stat($file)->mtime);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Getting the timestamp of a file
by moritz (Cardinal) on Jul 30, 2008 at 15:36 UTC | |
|
Re: Getting the timestamp of a file
by jettero (Monsignor) on Jul 30, 2008 at 15:38 UTC | |
by becca23 (Novice) on Jul 30, 2008 at 15:53 UTC | |
by jettero (Monsignor) on Jul 30, 2008 at 16:00 UTC | |
by massa (Hermit) on Jul 30, 2008 at 16:09 UTC | |
by broomduster (Priest) on Jul 30, 2008 at 16:33 UTC | |
by moritz (Cardinal) on Jul 30, 2008 at 15:58 UTC | |
|
Re: Getting the timestamp of a file
by broomduster (Priest) on Jul 30, 2008 at 15:58 UTC | |
|
Re: Getting the timestamp of a file
by RyuMaou (Deacon) on Jul 30, 2008 at 19:18 UTC | |
|
Re: Getting the timestamp of a file
by rir (Vicar) on Jul 30, 2008 at 21:08 UTC |