Skip to main content
Language version: 2 · Reference version: 2.7 · Date: 2026-10-25 · Compiler build: df7b3b14 · Namespace: dayofweek · Entries: 8

dayofweek (library)

Definition Named weekday constants for comparisons with the dayofweek series or dayofweek(time): dayofweek.sunday (1), dayofweek.monday (2), dayofweek.tuesday (3), dayofweek.wednesday (4), dayofweek.thursday (5), dayofweek.friday (6), dayofweek.saturday (7). Example

dayofweek.friday (constant)

Definition Weekday constant for Friday, an int with the value 6. Compare it with the dayofweek series or with dayofweek(time). Type const int Example

dayofweek.monday (constant)

Definition Weekday constant for Monday, an int with the value 2. Compare it with the dayofweek series or with dayofweek(time). Type const int Example

dayofweek.saturday (constant)

Definition Weekday constant for Saturday, an int with the value 7. Compare it with the dayofweek series or with dayofweek(time). Type const int Example

dayofweek.sunday (constant)

Definition Weekday constant for Sunday, an int with the value 1. Compare it with the dayofweek series or with dayofweek(time). Type const int Example

dayofweek.thursday (constant)

Definition Weekday constant for Thursday, an int with the value 5. Compare it with the dayofweek series or with dayofweek(time). Type const int Example

dayofweek.tuesday (constant)

Definition Weekday constant for Tuesday, an int with the value 3. Compare it with the dayofweek series or with dayofweek(time). Type const int Example

dayofweek.wednesday (constant)

Definition Weekday constant for Wednesday, an int with the value 4. Compare it with the dayofweek series or with dayofweek(time). Type const int Example