SheetRocks
Documentation/Formulas/DAYOFWEEK

DAYOFWEEK

Returns the day of the week as a text string

Syntax

DAYOFWEEK(date, [format])

Arguments

Argument Description Required
date The date value for which you want the day of the week Required
format Format: 1=Full (Monday), 2=Abbreviated (Mon), 3=Letter (M) Optional

Examples

Get full day name

=DAYOFWEEK(A1)
Result ⇒ Monday
A
1 1/1/2024

Get abbreviated day name

=DAYOFWEEK(A1, 2)
Result ⇒ Tue
A
1 1/2/2024

Get day letter

=DAYOFWEEK(A1, 3)
Result ⇒ W
A
1 1/3/2024

Related Functions

Other Date/Time functions:


← Back to Formula Reference