Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl 
    use strict; 
    ...
        # $t /=30; return sprintf("%s%2.2f months", $s, $t) if ($t < 12);
        # $t /=12; return sprintf("%s%2.2f years", $s, $t);
    }
    
  2. or download this
    my $days = int(0.5 + ( $epoch_target - $epoch_from ) /60/60/24 );