Skip to main content
Since 1.16.0 Given a timestamptz, returns how many days are in that month.

Samples

Calculate how many days in the month of January 1, 2022:
The output looks like this:

Arguments

The syntax is:

Returns