Navigation:  Reference > Functions >

NumDayOfWeek DOW()

Print this Topic Previous pageReturn to chapter overviewNext page

 

DOW(1)

 

PURPOSE

This function will return the day of the week as a number.

PARTS

1 f/c/eThe date value to use, must be of D type.  Default value is the current date (date())

 

RETURN TYPE - I

The number range returned is from 1 through 7, Sunday through Saturday.

 

EXAMPLE

define x type i

x = DOM()

(* if the date was 09/30/00 then

  x = 7 (Saturday) *)

 


Page url: http://www.cassoftware.com/tas/manual/numdayofweek().htm