Returns the day of the week, an integer from 1 to 7, for a date/time argument.
Weekday ( dateExpr )
dateExpr
Any of the following kinds of expression:
For Notes® or Domino®, LotusScript® interprets a 2-digit designation of a year in a date/time string so that 50 through 99 represent the years 1950 through 1999 and 00 through 49 represent the years 2000 through 2049.
For SmartSuite®, LotusScript interprets the years differently. For more information, see the Year 2000 item on the Help menu of each SmartSuite product.
Weekday returns an integer between 1 and 7.
The data type of the return value is a Variant of DataType 2 (Integer).
Weekday(NULL) returns NULL.
Sunday is day 1 of the week.