WEEKDAY (PQL - xl)
This function returns the number corresponding to the day of the week for a specified date
- Library: PQL \ Spreadsheet \ Date & Time
- Compatibility: Any content (regardless of data source) in the Tabulate spreadsheet module
- Solve: This function can be used with the Solve plug-in: both as part of the objective function and constraint functions
Syntax
WEEKDAY(serial number, OPTIONAL return type)
Function Arguments
Name | Description | Type | Optional |
serial number | Date for which you want to determine the day of the week provided | StringOrNumber |
|
return type | Number that represents the numbering scheme for the returned weekday value | Number | Y |
Comments
This function is the same as the Microsoft Excel 'WEEKDAY' function - using the same inputs, logic and outputs.