Hello everyone, I have a problem: there is a final date in Unix - 1353096809 and there is a current time caused by the time () function, let's say it is 1353011685, so I have to calculate how much time is left before 1353096809 (this date). When I just take away:
<?=$date_end - time()?>
Everything is fine, but when I try to convert it to a date with:
<?=date("g:i:s", $date_end - time());?>
I’m getting a little less than 2 hours, although I’m supposed to be a little less than 23 hours, why is the date incorrectly displayed?