Posted by Benny Schudel on 05/09/06 12:32
hello
I've tried to convert some milliseconds to a time format.
$ms = 100000 // 1min 40sec
echo strftime('%H:%M:%S', $ms/1000);
i expect the result is: "00:01:40"
but the result ist: "01:01:40"
i think this is a problem of a locale.
is there another easy way to covert a given ammout of milliseconds to a
time format?
thanks
//B
Navigation:
[Reply to this message]
|