Re: using perl to print yesterday's date, but with formatting options ?
- From: "Mothra" <mothra@xxxxxxxxxxxxxxxx>
- Date: Tue, 1 Nov 2005 13:17:49 -0800
usenet@xxxxxxxxxxxxxxx wrote:
> Purl Gurl wrote:
>
>> All-in-all, you have yet to receive any intelligent responses
>> regarding Daylight Savings Time.
>>
>> On Daylight Savings Time, you will never write code which
>> will work correctly.
>
> I beg to differ on both points. I posted this reply:
> http://tinyurl.com/8uwwb. It works for daylight savings time, and leap
^^^^^^^^^^^^^^^
I don't know about that. from the docs:
KNOWN BUGS
Daylight Savings Times
Date::Manip does not handle daylight savings time,
though it does handle timezones to a certain extent.
Converting from EST to PST works fine.
Going from EST to PDT is unreliable.
Another reason to use DateTime. DateTime will handle
DST changes, leap seconds, leap years, other calender systems
and much more :-)
Hope this helps
Mothra
.
- Follow-Ups:
- References:
- Prev by Date: Re: passing data
- Next by Date: Win32::GUI::TreeView events
- Previous by thread: Re: using perl to print yesterday's date, but with formatting options ?
- Next by thread: Re: using perl to print yesterday's date, but with formatting options ?
- Index(es):
Relevant Pages
|