Perl Monk, Perl Meditation | |
PerlMonks |
Re^2: Simple date and time manipulationby thargas (Deacon) |
on Jan 19, 2011 at 12:52 UTC ( [id://883111]=note: print w/replies, xml ) | Need Help?? |
Since you're using UTC, you don't have to worry about DST, but leap seconds may still be a consideration. You don't say if this is a one-shot program, nor whether the times may be in the future. With leap seconds, future times cannot be accurately predicted.
If you're not worried about leap-seconds, just adding the appropriate offset as Utilitarian suggests is probably your best bet.
In Section
Seekers of Perl Wisdom
|
|