Help for this page

Select Code to Download


  1. or download this
        my $seconds = sprintf( "%02.3f", ( ( $sectime - ( $hours * 3600 ) 
    +) - ( $minutes * 60 )) );
    
  2. or download this
    my ( $hours, $minutes, $seconds ) = ( split /:/, $time )[ -3, -2, -1 ]
    +;