Converts seconds or a timecode into an hours, minutes, seconds and even milliseconds string.
timeString(mixed $seconds = 0): string
seconds (mixed) : Seconds to convert to string. Also accepts a timecode.
(string) : Returns the converted seconds or timecode into a string containing hours, minutes, seconds and milliseconds if decimal is included.
$fx->timeString(85567) = 23 hours 46 minutes 7 seconds $fx->timeString(45:67) = 46 minutes 7 seconds $fx->timeString(795.128) = 13 minutes 15 seconds 128 milliseconds
Home | CoreyFX | Date and Time Processing
There was an error while loading. Please reload this page.