develooper Front page | perl.beginners | Postings from April 2002

Re: Time arithmetics...

Thread Previous | Thread Next
From:
Jonathan E. Paton
Date:
April 2, 2002 01:54
Subject:
Re: Time arithmetics...
Message ID:
20020402095448.22220.qmail@web14601.mail.yahoo.com
> I would like to know which is the best way
> I can do some basic arithmetic on dates...
> for instance... I'll be parsing a bunch of
> log lines, and need to "grep" some of them
> which date field be between a give stage of
> time,

Modules...

http://perldoc.com/perl5.6.1/lib/Date/Calc.html
http://perldoc.com/perl5.6.1/lib/Date/Manip.html
http://search.cpan.org/Catalog/Data_and_Data_Type/Date/

the tough part is choosing the best one :)

> for instance between feb 28, 200 and
> jan 30, 2002...

You must be a historian of some sort, nobody
else is interested in such large 'stages' of
time ;-)

Jonathan Paton

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About