Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl -l
    
    ...
    for (1 .. 7) { # Time::Piece->wday returns: Sunday = 1, ..., Saturday 
    += 7
        print +($_ - Time::Piece->strptime("$year$month" . '01', '%Y%m%d')
    +->wday) % 7 + 1;
    }
    
  2. or download this
    6
    7
    ...
    3
    4
    5
    
  3. or download this
    $ cal 10 2013
        October 2013
    ...
    13 14 15 16 17 18 19
    20 21 22 23 24 25 26
    27 28 29 30 31