On Mon, April 17, 2006 8:55 pm, tedd wrote:
As I understand it, it won't make any difference if you use
strtotime()
See: http://www.weberdev.com/strtotime
Errr, yeah.
Only problem is, he needs non-existent function that might be named
timetostr which takes an elapsed time and turns it into a
On Fri, April 14, 2006 1:24 pm, jonathan wrote:
is there a function to take a second count and return it as a
formatted difference?
like a date_diff('H hours i',6133)
that uses date()'s formatting.
I think he means something not unlike:
function human_time($seconds){
$result = and .
At 6:17 PM -0500 4/17/06, Richard Lynch wrote:
On Fri, April 14, 2006 1:24 pm, jonathan wrote:
is there a function to take a second count and return it as a
formatted difference?
That, however, is probably not precisely what he wants, as it's WAY
off in the months/years thing... :-)
[snip]
is there a function to take a second count and return it as a
formatted difference?
like a date_diff('H hours i',6133)
that uses date()'s formatting.
[/snip]
http://www.php.net/mktime
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
4 matches
Mail list logo