Skip to content

AsHours

aggregating category: arithmetic no `||`

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

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

Parameters

1seconds Optional — accepts: field, INT

Number of seconds to convert to hours. 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

AsHours()

From static parameter

AsHours(10800)

See also

AsDays, AsMinutes, AsMonths, AsSeconds, AsYears, Hours