Skip to content

AsSeconds

aggregating category: arithmetic no `||`

Returns the input value (in seconds) unchanged — completes the time-unit set.

Helper companion to AsMinutes, AsHours, AsDays, AsMonths, and AsYears. Since the input integer value is already in seconds, the command simply passes the value through unchanged. It exists for symmetry with the other time-unit helpers.

Parameters

1seconds Optional — accepts: field, INT

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

AsSeconds()

From static parameter

AsSeconds(53)

See also

AsDays, AsHours, AsMinutes, AsMonths, AsYears, Seconds