Help for this page

Select Code to Download


  1. or download this
    use lib '.';
    use lady_date;
    my $date = new Lady_DATE;
    print $date->get_days_since_new_year(3,1);
    
  2. or download this
    sub get_days_since_new_year{
    
    ...
    while (--$__month > 0){
        $days = $days + $monthdays[$__month];
    }