Help for this page

Select Code to Download


  1. or download this
    #!/bin/perl
    use Date::Calc qw(Date_to_Time);
    ...
    print "$avg\n";
    
    print strftime "%H:%M:%S\n", gmtime($avg);
    
  2. or download this
    $count = 0;
    $starthour = 17;
    ...
    
    $timeavg = $time/$count;
    print strftime '%H:%M:%S', gmtime($timeavg);