Skip to main content

asDays

Converts a duration from seconds to days.

Parameters

  • DURATION (number)

    The number of seconds to convert.

Examples

ATL in Script

Result

[[asDays(259200)]]

3

[[asDays(300000)]]

3.47

To reduce the result to its integer part, use truncate.

ATL in Script

Result

[[asDays(300000)]]

3.47

[[truncate(asDays(300000))]]

3