RE: Last day of Month

2002-09-30 Thread Nikola Janceski
The error you have is you didn't use the module that already does this for you. use Data::Calc qw(Days_in_Month); -Original Message- From: Charlie Farinella [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 5:13 PM To: Perl Beginners Subject: Last day of Month I

Re: Last day of Month

2002-09-30 Thread Felix Geerinckx
on Mon, 30 Sep 2002 21:12:56 GMT, Charlie Farinella wrote: I have an error popping up in an application that runs monthly reports and everymonth seems to leave off the last day's entries. The subroutine that determines the last day of the month is here: sub GetLastDayOfMonth { my(

RE: Last day of Month

2002-09-30 Thread Nikola Janceski
er... my bad.. typo use Date::Calc qw(Days_in_Month); -Original Message- From: Nikola Janceski [mailto:[EMAIL PROTECTED]] Sent: Monday, September 30, 2002 5:17 PM To: 'Charlie Farinella'; Perl Beginners Subject: RE: Last day of Month The error you have is you didn't use

Re: Last day of Month

2002-09-30 Thread Charlie Farinella
On Mon, 2002-09-30 at 17:18, Felix Geerinckx wrote: on Mon, 30 Sep 2002 21:12:56 GMT, Charlie Farinella wrote: I have an error popping up in an application that runs monthly reports and everymonth seems to leave off the last day's entries. The subroutine that determines the last day

Re: Last day of Month

2002-09-30 Thread Felix Geerinckx
on Mon, 30 Sep 2002 21:38:34 GMT, Charlie Farinella wrote: I don't know if this is helpful. Let me know. a) how this function is called, and if( $hashref-{'period'} eq '1' ) { $starttime = GetFirstDayOfMonth( $curtime ); $endtime = GetLastDayOfMonth( $curtime

Re: Last day of Month

2002-09-30 Thread Jenda Krynicky
From: Charlie Farinella [EMAIL PROTECTED] I have an error popping up in an application that runs monthly reports and everymonth seems to leave off the last day's entries. The subroutine that determines the last day of the month is here: sub GetLastDayOfMonth { my(

Re: Last day of Month

2002-09-30 Thread david
Charlie Farinella wrote: I have an error popping up in an application that runs monthly reports and everymonth seems to leave off the last day's entries. The subroutine that determines the last day of the month is here: sub GetLastDayOfMonth { my( $sec, $min, $hours, $mday, $mon, $year