DayOfWeek

Gets the day-of-week number of a date \ datetime

DayOfWeek("2022-07-08") โ†’ 5
DayOfWeek("2022-01-06 20:00:00.000") โ†’ 4

Inputs

DayOfWeek(dateTime)

  • dateTime - Date, time, or datetime value

Last updated