"StructuredDateTime" (Interpreter Type)
Date with time in a standard format.
Details
- "StructuredDateTime" can be used in Interpreter and related constructs, including deployed smart form fields.
- Use of "StructuredDateTime" does not require connectivity to the Wolfram Cloud.
Allowed Forms
- A date in a format allowed by "StructuredDate" , followed by a time specification in a format allowed by "StructuredTime" .
Restriction Specifications
-
Restricted ["StructuredDateTime" ,{min,max,unit}] a date with time between min and max, with resolution unit
Interpretation
- "StructuredDateTime" yields a DateObject with a TimeObject as its second argument.
Examples
Basic Examples (2)
Interpret dates with time:
Restrict the value to be within a given range:
Set a resolution of seconds:
Pure dates or pure times are not accepted:
Specify a custom format: