# GetDayOfWeek Method

## Overloads

| [GetDayOfWeek(Int32, Boolean)](https://help.qlik.com/en-US/qlikview-developer/September2025/Subsystems/QMSAPIref/Content/PIX.SupportFunctions.GetDayOfWeek.htm#PIX_SupportFunctions_GetDayOfWeek_System_Int32_System_Boolean_) |  |  |
| --- | --- | --- |

[](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.SupportFunctions.GetDayOfWeek.htm) [](https://help.qlik.com/en-US/qlikview-developer/Subsystems/QMSAPIref/Content/PIX.SupportFunctions.GetDayOfWeek.htm)

## GetDayOfWeek(Int32, Boolean)

### Declaration

```

          public static DayOfWeek GetDayOfWeek(int iDay, bool iSunIsFirstDayOfWeek)
    
  
```

### Parameters

| Type | Name | Description |
| --- | --- | --- |
| System.Int32 | iDay |  |
| System.Boolean | iSunIsFirstDayOfWeek |  |

### Returns

| Type | Description |
| --- | --- |
| System.DayOfWeek |  |