Help for this page

Select Code to Download


  1. or download this
    #returns the week number of the date input
    $week = Week_of_Year($year,$month,$day); 
    #returns the date of the monday of the week input
    ($year,$month,$day) = Monday_of_Week($week,$year);
    
  2. or download this
    - get $begin_day, $begin_month, $begin_year and $end_day, $end_month, 
    +$end_year  from form input
    
    ...
         }
    $monday_date = $monday_date +7;
    }