"ComputedDateTime" (interpreter type)

Date with time derived by computation.

DetailsDetails

Allowed FormsAllowed Forms

  • Any natural-language date with time specification supported by "DateTime", or a computation yielding one.

Restriction SpecificationsRestriction Specifications

InterpretationInterpretation

ExamplesExamplesopen allclose all

Basic Examples  (3)Basic Examples  (3)

Interpret dates with time:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Interpret dates with time derived by computation:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=

Restrict the value to be within a given range:

In[1]:=
Click for copyable input
Out[1]=

Set a resolution of hours:

In[1]:=
Click for copyable input
Out[1]=

Pure dates or pure times are not accepted:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=