Returns the current timeframe in seconds.
Only for linear time units, otherwise it will return the value -1.
Syntax:
1 |
GetTimeframe |
Example:
1 2 3 4 5 6 7 8 9 10 |
timeframe(4 hour) a = gettimeframe timeframe(1 hour) b = gettimeframe timeframe(default) c = gettimeframe return a as "seconds in 4 hours", b as "seconds in 1 hour", c as "seconds in current timeframe" |