Return the length of the Gregorian month containing the UTC DateTime. February follows the Gregorian leap-year rule.
Example
The ISO timestamps below are the values carried by DateTime connections. Connect the output of Parse Date or Create DateTime.
{"date":"2024-02-15T00:00:00.000Z"}
Result
{"days":29}
Connector data types
| Direction | Connector | Type | Required |
|---|---|---|---|
| Input | date — Date | datetime | yes |
| Output | days — Days | number | on success |
Errors and recovery
Connect a DateTime. If your source is text, use Parse Date so February is evaluated for the intended year.
