User Tools

Site Tools


syntax:functions:weekday

WeekDay(date_as_number)

Extracts the corresponding day of the the week, from 1 (Sunday) to 7 (Saturday), from date_as_number.

Example Result
weekday(42097) 6
weekday(35640) 3
weekday( makedate(2014,1,1) ) 4

See also:

syntax/functions/weekday.txt · Last modified: 2018/08/22 20:57 by dmitry