Help for this page

Select Code to Download


  1. or download this
    my @sundays = ([]);
    my @date = (2005, 1, 1);
    ...
    # Now, $sundays[1] == ( 2005, 1, 2 )
    # $sundays[2] == (2005, 1, 9 )
    # etc.
    
  2. or download this
    my @sunday_date = Monday_of_Week(Week_of_Year( @starting_date ));
    $sunday_date[2]--;