#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);