Info Panel
Roll it!   ⇔
1 - Documantation
* Knowledge Base
  • Mvc
  • Application
  • Advanced
  • Operators
  • Api
* Origin Template
  • Customize
* Core Classes
* Classes

* all grey titles exists but not documented yet

Seconds To Human Readable Time Format

Type: core

Class: Trans

Platform: 2v

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):
Code:
Possible outcome (example):
Output:
Info Panel
Roll it!   ⇔