LOTUSSCRIPT LANGUAGE


Weekday function
Example

Returns the day of the week, an integer from 1 to 7, for a date/time argument.

Syntax

Weekday ( dateExpr )

Elements

dateExpr

Return value

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.

Usage

Sunday is day 1 of the week.

Language cross-reference

@Weekday function in formula language

Example
See Also