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.
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. 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 |
