# Parse Month Name

> Parse a month name into a number.

- ID: `parse_month_name`
- Type: Block
- Category: [Time](https://inventor.bot/docs/reference/blocks/time.md)

**Inputs**

| Name | Required | Description | Value |
| --- | --- | --- | --- |
| `month_name` | yes | Month name to parse. | e.g. `"January"` |

**Outputs**

| Name | Description | Value |
| --- | --- | --- |
| `parsed_month_number` | Numeric month (1-12). | e.g. `"1"` |

**Example**

```go
parseMonthName := parse_month_name(Args{month_name: "January"})
send_text_message(Args{
	channel_id:      trigger.channel_id,
	message_content: "Parsed Month Number: " + parseMonthName.parsed_month_number,
})
```