--- title: "Get Week of Year by Calendar Type" slug: "get-week-of-year-by-calendar-type" updated: 2022-12-07T14:47:24Z published: 2022-12-07T14:47:24Z canonical: "documentation.decisions.com/get-week-of-year-by-calendar-type" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Get Week of Year by Calendar Type | ## Step Details | | --- | | **Introduced in Version** | 4.0.0 | | **Last Modified in Version** | 7.12.0 | | **Location** | Data > Dates | The Get Week of Year by Calendar Type step will return the week number of the date to check based on the [Calendar Type](https://learn.microsoft.com/en-us/dotnet/standard/datetime/working-with-calendars). --- ## Properties #### Inputs | Property | Description | Data Type | | --- | --- | --- | | Calendar Week Rule | Choose the Rule of when the week starts: First Day, First Full Week, First Four Day Week. | CalendarWeekRule | | Date To Check | Date to find the week number of. | DateTime | | First Day Of Week | Pick the first day of the week: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, or Saturday. | DayOfWeek | | Full Calendar Type Name | Type the Full Calendar Type Name desired. Further information can be found at [Work with Calendars](https://learn.microsoft.com/en-us/dotnet/standard/datetime/working-with-calendars). Example Input options: System.Globalization.GregorianCalendar System.Globalization.HebrewCalendar System.Globalization.JapaneseCalendar If the Full Type Name is not specified properly, the step will fail, stating, "Value cannot be null". | String | #### Outputs | Property | Description | Data Type | | --- | --- | --- | | GetWeekOfYearByCalendarType1_Output | The numbered week of the year for the Date to Check. | Int32 | #### ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2022-12-07_09h41_05.png)