note 1202 modified in mktime by jmoore

From: Date: Wed, 27 Dec 2000 10:08:28 +0000
Subject: note 1202 modified in mktime by jmoore
Groups: php.notes 
Request: Send a blank email to php-notes+get-9114@lists.php.net to get a copy of this message
You have 74788 seconds and you want to convert to hh:mm:ss. You can just do date("H:i:s", mktime(0,0,74788)) which returns 20:46:28. http://www.php.net/manual/function.mktime.php

« previous php.notes (#9114) next »