Help for this page
$hh += 0; # stop warning as $hh may not be initialised $dd += 0; # same as $hh :) $etime_secs= $ss+($mm*60)+($hh*60*60)+($dd*24*60*60);
$etime_secs= $ss+($mm*60)+($hh?$hh*60*60:0)+($dd?$dd*24*60*60:0);