Re: Wroking with Dates

2003-02-05 Thread david
Thomas Williams wrote: > I got dates in the -mm-dd format, and I need to compare them to > today's date, as well do stuff like date += 2 months. > > How do I do it? check out Date::Manip. Example: #!/usr/bin/perl -w use strict; use Date::Manip; my $date1 = ParseDate("2003-02-05"); #-- 02/

RE: Wroking with Dates

2003-02-05 Thread Timothy Johnson
Check out the Date::Calc module. I think it does what you want. -Original Message- From: Thomas Williams [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 05, 2003 2:21 PM To: [EMAIL PROTECTED] Subject: Wroking with Dates I got dates in the -mm-dd format, and I need to compare t