TimeObjectQ

TimeObjectQ[expr]

gives True if expr is a TimeObject with valid arguments, and False otherwise.

Details

  • TimeObjectQ[expr] returns False unless expr is a TimeObject expression with valid arguments (i.e. has a recognized time specification).

Examples

open allclose all

Basic Examples  (1)

TimeObjectQ tests whether an expression is a TimeObject 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]=

Applications  (1)

Possible Issues  (1)

See Also

TimeObject  DateObjectQ  DateObject

Introduced in 2015
(10.2)