Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    my $hour;
    
    ($sec, $min, $hour) = localtime();
    
  2. or download this
    #!usr/bin/Perl
    use strict;
    ...
    
    my $results=`perl stime.pl`;
    print $results;