ToolkitTimescaleDB Toolkit functions are available under Timescale Community Edition. They are automatically included with Timescale, but must be installed separately for self-hosted TimescaleDB. Click to learn more.
Given a timestamptz, returns how many days are in that month.
|Timestamp to use to calculate how many days in the month
Calculate how many days in the month of January 1, 2022:
The output looks like this:
Found an issue on this page?Report an issue!