N seconds
From UBot Studio
(Difference between revisions)
Line 2: | Line 2: | ||
The function returns a specified amount of hours/seconds/milliseconds/days/minutes/weeks/years | The function returns a specified amount of hours/seconds/milliseconds/days/minutes/weeks/years | ||
+ | |||
+ | Can be used along with the [[N from now]] and [[n ago]] functions. | ||
== Example 1 == | == Example 1 == |
Latest revision as of 23:42, 6 October 2016
$n seconds is a Time Function.
The function returns a specified amount of hours/seconds/milliseconds/days/minutes/weeks/years
Can be used along with the N from now and n ago functions.
[edit] Example 1
alert($n seconds(3,"Hours"))
Running the script returns the specified amount of hours.