DAYOFWEEK

Top  Previous  Next

Keyword Description

Calendar-related keyword returns Day of Week (numerical)

Class

Function

Where Legal

Resources

Entry Logic

Exit Logic

Initial Size

Resize

(Pre-Category)

Resize

(Category-Level)

l

l

l

l

l

 

Syntax

DAYOFWEEK (no arguments)

 

Example

Sample code

IF DAYOFWEEK = FRIDAY AND MEMORY[2] <> 12 THEN BEEP

 

ThumbTack white

Calendar-related functions (except those with the ENTRY prefix), when used on the Resize page, return a date that is one day later than the same keyword returns, when it is used on the Initial Size page.  This can be observed when examining such date functions in X-Ray.

See also:

ENTRYDAYOFWEEK