Skip to content

AsDays

aggregating category: arithmetic no `||`

Converts an integer number of seconds into the equivalent number of days.

Helper that divides the input or parameter (in seconds) by 60 * 60 * 24 to produce the equivalent number of days.

Parameters

1seconds Optional — accepts: field, INT

Number of seconds to convert to days. If omitted, a single integer input must be provided.

Input type

  • INT

Output type

  • INT

Requires

  • Either a single value must be presented as an input or a single integer parameter must be provided.

Examples

From input

AsDays()

From static parameter

AsDays(3628800)

See also

AsHours, AsMinutes, AsMonths, AsSeconds, AsYears, Days