Re: Working with Dates (was: Wroking with Dates)

2003-02-05 Thread Janek Schleicher
On Wed, 05 Feb 2003 22:20:54 +, 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? As the other ones already has said, use the Date:: modules for manipulation. However, if y

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

Wroking with Dates

2003-02-05 Thread Thomas Williams
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? Tom _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=f