DayOfWeek


 

DayOfWeek>result

 

Returns the current week day number, starting with Sunday as day 1, and ending on Saturday with day 7.

 

Abbreviation : DOW

See also: Day, Month, Year, GetDate, GetTime

 

Example

 

This example displays the current day as a proper day name.  It also shows how to use variables in a Goto command.

 

DayOfWeek>result

Goto>Day%result%

 

Label>Day1

Let>DayString=Sunday

Goto>Continue

 

Label>Day2

Let>DayString=Monday

Goto>Continue

 

Label>Day3

Let>DayString=Tuesday

Goto>Continue

 

Label>Day4

Let>DayString=Wednesday

Goto>Continue

 

Label>Day5

Let>DayString=Thursday

Goto>Continue

 

Label>Day6

Let>DayString=Friday

Goto>Continue

 

Label>Day7

Let>DayString=Saturday

Goto>Continue

 

Label>Continue

MessageModal>DayString