Joshua,

thank you, that will do the trick. :)

Mike
----- Original Message ----- From: "Joshua Colson" <[EMAIL PROTECTED]>
To: <beginners@perl.org>
Cc: "Mike Blezien" <[EMAIL PROTECTED]>
Sent: Tuesday, April 04, 2006 1:58 PM
Subject: Re: Determine total days of month


# Sample code:

use Date::Calc qw(:all);

$days = Days_in_Month('2006','04');

print $days;

# End Sample

You'll need the Date::Calc module from cpan
(http://search.cpan.org/~stbey/Date-Calc-5.4/Calc.pod).




On Tue, 2006-04-04 at 13:49 -0500, Mike Blezien wrote:
Hello,

I am trying to come up with a function, or formula calculation,  to determine
the total days of a given month, IE: April which has 30 days, Feb has 28 days,
March has 31 days... etc

Is there way to do this with Perl

TIA,
Mike(mickalo)Blezien


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to