Scalar function
NULL input yields NULL. Invalid weekday/date text yields NULL.
Syntax
Scalar
Arguments
Returns
- Type: DATE
- NULL behavior: NULL input yields NULL. Invalid weekday/date text yields NULL.
Properties
Usage notes
- Trimmed, case-insensitive first two letters identify the weekday. Matching the current weekday advances seven days.
Examples
Basic example
The same weekday means the following week
Limitations
- Some STRING column representations currently raise a type error. The NULL and invalid-text rules above apply to the supported STRING representation.
- Use ASCII weekday names. Non-ASCII names can fail and are outside the supported inputs.
Last modified on October 15, 2026