Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl -l
    
    ...
    my $t = Time::Piece->strptime($date_string, '%b %d %H:%M');
    
    print 'Day=', $t->mday, ' Month=', $t->mon;
    
  2. or download this
    Day=31 Month=10