note 46626 added to function.time
| From: | gnif at spacevs dot com | Date: | Mon, 18 Oct 2004 09:57:38 +0000 |
| Subject: | note 46626 added to function.time | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-78716@lists.php.net to get a copy of this message | ||
Here is a few nice functions that I wrote to output a human readable string from seconds, I know
that it doesn't use the time function, but I thought that it was closely related enough.
http://www.spacevs.com/CodeRepository/index.php?page=displaycode&
disppath=PHP%2FTime%2Ffunction.Secs2TimeArray%2F
http://www.spacevs.com/CodeRepository/index.php?page=displaycode&
disppath=PHP%2FTime%2Ffunction.TimeArray2String%2F
Note: Remove the extra line after the & in the url's, PHP wont allow a line this long in a
post.
----
Manual Page -- http://www.php.net/manual/en/function.time.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+46626
Delete -- http://master.php.net/manage/user-notes.php?action=delete+46626&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+46626&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+46626&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+46626&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+46626&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+46626&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+46626&report=yes
Search -- http://master.php.net/manage/user-notes.php