To return the number (1...7) of the day of the week. This number is associated with a day of the week (Sunday = 1).
Dow(date-expression | datetime-expression)
The value 0 is returned if the parameter received is null.
You only want to obtain the today's day from a datetime (or date) variable or attribute.
&DayNbr = Dow(Now())
// Now = 11/24/2010 02:42 PM
// &DayNbr = 4
Objects Procedure object, Transaction object, Web Panel object
TimeZone Support - General Considerations