Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use warnings;
    ...
    my $new_end_day = strftime "%m/%d/%Y", (localtime($end_day));
    
    print "The start day is $new_start_day and the end day is $new_end_day
    +\n";
    
  2. or download this
    $ LIST="09/20/2008 1/1/2009 11/3/2008 06/06/2006 11/1/2008 11/1/2008 1
    +0/1/2008"
    $ for i in $LIST
    ...
    
    We expect a start day and a day 6 days later than that!
    The start day is 10/01/2008 and the end day is 10/07/2008