Get Month
Returns the month of a date as a number from 1 to 12.
Get Month returns the month of a date as a number from 1 (January) to 12 (December). Use it to group records by month or to check which period a date belongs to.
Add the action
In the Process Designer toolbox, open DateTime and pick Get Month (or type Get Month in the search box).

Inputs and outputs
| Field | Direction | Type | Required | What to put / what you get |
|---|---|---|---|---|
| Date | Input | Date and time | Yes | The date and time to read the month from. |
| Month | Output | Integer | Yes | The month. |
Example
| Date | Month |
|---|---|
2024-02-29 | 2 |
05/10/2010 | 5 |
Good to know
- Time zone: a value that carries a UTC offset (for example
2025-01-01T01:00:00+02:00) is first converted to UTC, and the part is read from the UTC value. A value without an offset, or ending inZ, is used as it is. - A date written with slashes, like
05/10/2010, is read month first (US order): month5, day10. Use theyyyy-MM-ddform, or String To DateTime with an explicit format, to avoid any doubt. - To get the month name instead of its number, use Format DateTime with the format
MMMM. - An empty or invalid Date (for example
2023-02-29ornot a date) stops the step with an error.

