Date::EzDate date comparisons

Stephen Collyer scollyer at netspinner.co.uk
Mon May 8 16:43:06 BST 2006


IvorW wrote:
> 
>>-----Original Message-----
>>From: Stephen Collyer [mailto:scollyer at netspinner.co.uk]
>>Sent: 08 May 2006 15:50
>>To: London.pm Perl M[ou]ngers
>>Subject: Re: Date::EzDate date comparisons
>>
>>
>>* Replies will be sent through Spamex to scollyer at netspinner.co.uk
>>* For additional info click -> http://www.spamex.com/i/?v=8150696
>>
>>Aaron Trevena wrote:
>>
>>>On 08/05/06, Stephen Collyer <scollyer at netspinner.co.uk> wrote:
>>>
>>>
>>>>Has anyone successfully used Date::EzDate for comparing dates
>>>>by anything other than the default epochday setting ?
>>>>
>>>>I've been unable to get it to do anything sensible and was
>>>>wondering if this is a known buggy area - though I can't find
>>>>any hint that it is via Google or rt.cpan.org
>>>
>>>
>>>Yuck. Ick. Gag!
>>
>>>Why not use something sensible like DateTime?
>>
>>At the moment, I'm looking for a lightweight, pure Perl module, and
>>DateTime isn't that.
> 
> 
> If you are manipulating DATES, try Date::Calc for size. If you are manipulating TIMES, try Time::Piece. 

I'm familiar with Date::Calc, but it's not Pure Perl (at least the
latest version of CPAN isn't) - I'll take a look at Time::Piece
- thanks.

> I advocate both modules, when you don't care about time zones (if you do, you need something like DateTime).

I don't, but anyway, my requirement at the moment is simple enough
that I can hand-code it if I can't find a module that I like.

-- 
Regards

Stephen Collyer
Netspinner Ltd


More information about the london.pm mailing list