Search

Module: Editor

Version: 2.2.1 +

Type: Long or Double

Category: Date and Time

 

Description

The formula 'WeekDay' returns the day of the week from a specified date. The result is a number in the range 0 (Sunday), 1 (Monday) ... 6 (Saturday).

Parameters

Date:         this is the date where you want to get the day of the week from.

Example

Description

In the following example the formula 'WeekDay' is used to get the day of the week from a date.

Values parameters

Date:       23-9-2014

Result

Output:    2

The outcome is 2, because the date 23-9-2014 is on a Tuesday.

Related Topics

Day: The formula 'Day' returns the day of the month from a specified date.

Month: The formula 'Month' returns the month from a specified date.

Year: The formula 'Year' returns the year of a specified date.

Feedback

If you have any questions about this subject or if you want to provide us feedback please send us an e-mail.

Updated: 2014-09-23