Convert seconds to human readable time duration
How would I best convert 90060 (seconds) to a string of “25h 1m”?
How would I best convert 90060 (seconds) to a string of “25h 1m”?
I need to calculate the time a user spends on site. It is difference between logout time and login time to give me something like “Mr X spent 4 hours and 43 minutes online”. So to store the4 hours and 43 minutes i declared it like this:
duration
time NOT NULL
I want to know how to get the duration, dimension and size of uploaded video file in PHP. The file can be in any video format.
I have $adate;
which contains: