The DayOfWeek() function returns the day of the week. Monday is day 1 and Sunday is day 7.

Syntax

DayOfWeek(date)

Returns

A number that represents the day of a week where 1 is Monday, 2 is Tuesday etc.

Parameters

  • date – a date

Examples

DayOfWeek(Date(2017, 4, 12))
/* Returns 3 (Wednesday) */

 +31 (0)20 240 21 20       

Videos and images courtesy of WEM Modeler. © 2019. WEM Modeler.
SitemapPrivacy - Terms - Company

 +31 (0)20 240 21 20       


Videos and images courtesy of WEM Modeler.
© 2019 WEM Modeler.
SitemapPrivacy - Terms - Company