DayOfWeekNumber (PQL)
Returns the day of week as a number, between 1-7. By default, it ranges from 1= Sunday till 7=Saturday. Optionally using the “ISO” flag, will range from 1=Monday till 7=Sunday.
- Returned Output: Numeric
- Library: PQL \ Granular \ Date-Time
- Version: 2023.13.000
- Compatibility: Pyramid Query Language (PQL) data sources
Syntax
DayOfWeekNumber( <Column DateTime> , OPTIONAL <Flag> )
* Click on the function's arguments above for more details on the input values.