Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -wT
    use strict;
    ...
      my $t = Time::Piece->strptime(shift,"%T") + shift;
      return $t->strftime("%T");
    }
    
  2. or download this
    perl -MTime::Piece -le'print+(Time::Piece->strptime(pop,"%T")+pop)->st
    +rftime("%T")' 1000 10:30:05