"DayOfWeek" (Interpreter Type)
A day of the week in a standard format.
Details
- "DayOfWeek" can be used in Interpreter and related constructs, including deployed smart form fields.
- Use of "DayOfWeek" does not require connectivity to the Wolfram Cloud.
Restriction Specifications
-
Restricted["DayOfWeek",{{choice1,…}}] one among choices
Interpretation
- "DayOfWeek" yields a day of the week (such as Monday, Tuesday, etc.).
Examples
Basic Examples (2)
Interpreter["DayOfWeek"]["Monday"]Interpreter["DayOfWeek"]["thurs."]Restrict to a selection of days:
Interpreter[Restricted["DayOfWeek", {{Monday, Wednesday, Friday}}]]["Fri"]Interpreter[Restricted["DayOfWeek", {{Monday, Wednesday, Friday}}]]["Thu"]Related Guides
History
Introduced in 2016 (11.0)