

<?php $godz1 = '8:00:00'; $godz2 = '9:30:00'; if($czas < 0) { $czas*=-1; } $minuty = $czas/60; ?>
<?php function countTime($a, $b, $type) { $czas = $bt-$at; if($czas < 0) { $czas*=-1; } if($type == 'sec') { return($czas); } elseif($type == 'min') { return($czas/60); } elseif($type == 'godz') { return($czas/3600); } else { return false; } } ?>
<?php function countTime($a, $b, $type) { $czas = $bt-$at; if($czas < 0) { $czas*=-1; } if($type == 'sec') { return($czas); } elseif($type == 'min') { return($czas/60); } elseif($type == 'godz') { return($czas/3600); } else { return false; } } ?>