Seconds To Human Readable Time Format
Function: seconds2Human
Visibility: public
Parameter: seconds2Human($s)
Description:
In the world of unix time lives in seconds, to know the real meaning of it we can use this simple function to find out the real value of the seconds we input.
Parameters:
(required) - integer - $s - The seconds to compute.
Return:
string - The human readable time format.
Callable from (extended classes):
application: controller,view
advanced: controller,view
operators: controller,view
api: controller,view
example: 1
On the timer we got 22554 seconds, we want to reveal the true meaning of it.
How to call (example):
Possible outcome (example):
Output: