"ExcelDate" (Interpreter Type)
A numerical date in the Microsoft Excel standard.
Details
- "ExcelDate" can be used in Interpreter and related constructs, including deployed smart form fields.
- Use of "ExcelDate" does not require connectivity to the Wolfram Cloud.
Restriction Specifications
-
Restricted["ExcelDate",{{choices1,…}}] one among choices Restricted["ExcelDate",max] a date before max Restricted["ExcelDate",{min,max}] a date between min and max Restricted["ExcelDate",{min,max,unit}] a date between min and max, with resolution unit
Interpretation
- "ExcelDate" yields a DateObject.
Examples
Basic Examples (3)
Interpreter["ExcelDate"]["30591"]Interpreter["ExcelDate"]["51212.13"]Restrict the value to be within a given range:
Interpreter[Restricted["ExcelDate", {DateObject[{1933, 9, 1}], DateObject[{1933, 9, 1}] + Quantity[3, "Month"]}]]["12345.67"]Interpreter[Restricted["ExcelDate", {DateObject[{1933, 9, 1}], DateObject[{1933, 9, 1}] + Quantity[3, "Month"], "Day"}]]["12345.67"]See Also
Interpreter Restricted Failure
Interpreter Types: Time Date DateTime DayOfWeek UnixTime StructuredTime ComputedTime StructuredDate ComputedDate StructuredDateTime ComputedDateTime
Related Guides
History
Introduced in 2017 (11.1)