asWeeks
Converts a duration from seconds to weeks.
Parameters
DURATION (number)
The number of seconds to convert. This can be an integer or a decimal.
Examples
ATL in Script | Result |
---|---|
| 2 |
| 2.07 |
To reduce the result to its integer part, use truncate.
ATL in Script | Result |
---|---|
| 2.07 |
| 2 |