Help for this page

Select Code to Download


  1. or download this
    sub dayslastmonth
    {
    ...
       my $last  = $first - '0-0-1';
       return $last->day;
    }
    
  2. or download this
    sub dayslastmonth
    {
    ...
       my ($year, $month, $day) = Today();
       return Days_in_Month($year,$month - 1);
    }