Thursday, August 15, 2013

PHP Function to Convert seconds to Hour Minute Second format

<?php
      echo gmdate("H:i:s", 12600);
?>


Output: 03:30:00

No comments:

Post a Comment