|
|
| Syntactic Confectionery Delight | |
| PerlMonks |
Re^2: Date Trickinessby pijll (Beadle) |
| on Oct 02, 2004 at 04:24 UTC ( [id://395854]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
Note that this can go wrong at DST changes, when a day is shorter or longer than 24 hours. If you want it to work on those days to, either use gmtime instead of localtime, run the script during daytime (or at least, not between 23:00 and 1:00), or use a module (such as DateTime).
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||