Condition_DayOfTheWeek
Description
Checks whether the current day of the week matches the specified day.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | Not used. |
| CompareType | Supported compare types: None, Equal, NotEqual |
| S1 | Day of the week to compare against (Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday) |
Examples
| Description | BaseObject | Command | CompareType | S1 |
|---|---|---|---|---|
| Checks whether today is Monday. | DayOfTheWeek | Equal | Monday | |
| Checks whether today is not Saturday. | DayOfTheWeek | NotEqual | Saturday | |
| Checks whether today is Friday. | DayOfTheWeek | Equal | Friday |