Skip to content

Months

aggregating category: date no `||`

Converts a number of months into the corresponding number of seconds (30-day months).

Helper that multiplies the input or parameter (in months) into seconds. A single month is treated as 30 days, so 12 months is 360 days.

Parameters

1months Optional — accepts: field, INT

Number of months to convert to 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.
  • A single month is expected to be 30 days. Thus, 12 months is 360 days.

Examples

From input

Months()

From static parameter (12 months)

Months(12)

See also

Days, Hours, Minutes, Seconds, Years, AsMonths