Date::EzDate date comparisons

IvorW combobulus at xemaps.com
Mon May 8 15:57:21 BST 2006



> -----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 advocate both modules, when you don't care about time zones (if you do, you need something like DateTime).

Hope this helps.


More information about the london.pm mailing list