dayOfWeek

dayOfWeek(): Integer;

The dayOfWeek method of the Date primitive type returns an integer value for the day of the week (for the date value of the receiver).

For an example of the use of the dayOfWeek method, see the Date primitive type day method.

The week day values are those listed in the following table.

Integer Value Day
1 Monday
2 Tuesday
3 Wednesday
4 Thursday
5 Friday
6 Saturday
7 Sunday

If you do not define the EnhancedLocaleSupport parameter in the [JadeEnvironment] section of the JADE initialization file on the database node or you set it to false, inconsistent results could be returned to the application server when running in JADE thin client mode and there are locale overrides, as all overrides on the application server are suppressed if enhanced locale support is not enabled. Formatting of locale data is done on the application server, based on the locale of the corresponding presentation client.