Retrieve datevalues from seconds
| From: | David Lidstr�m | Date: | Thu, 21 Jun 2001 08:00:50 +0000 |
| Subject: | Retrieve datevalues from seconds | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-54701@lists.php.net to get a copy of this message | ||
Hi!
If i have a number of seconds, i.e. 30667 - is there
any easy way to extract hours, seconds,days etc. from this?
I.e.
foobar ( 120 )
-> 0 days, 0 hours, 2 minutes.
?!?!
\david