DateObjectQ

DateObjectQ[expr]
gives True if expr is a DateObject with valid arguments, and False otherwise.

DetailsDetails

  • DateObjectQ[expr] returns False unless expr is a DateObject expression with valid arguments (i.e. has a recognized date specification).

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

DateObjectQ tests whether an expression is a DateObject with valid arguments:

In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=
Introduced in 2014
(10.0)
Translate this page: