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:

Applications  (1)

TimeObjectQ can be used in pattern tests for functions:

Possible Issues  (1)

Now represents a full date and is not a TimeObject:

Wolfram Research (2015), TimeObjectQ, Wolfram Language function, https://reference.wolfram.com/language/ref/TimeObjectQ.html.

Text

Wolfram Research (2015), TimeObjectQ, Wolfram Language function, https://reference.wolfram.com/language/ref/TimeObjectQ.html.

BibTeX

@misc{reference.wolfram_2021_timeobjectq, author="Wolfram Research", title="{TimeObjectQ}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/TimeObjectQ.html}", note=[Accessed: 19-October-2021 ]}

BibLaTeX

@online{reference.wolfram_2021_timeobjectq, organization={Wolfram Research}, title={TimeObjectQ}, year={2015}, url={https://reference.wolfram.com/language/ref/TimeObjectQ.html}, note=[Accessed: 19-October-2021 ]}

CMS

Wolfram Language. 2015. "TimeObjectQ." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/TimeObjectQ.html.

APA

Wolfram Language. (2015). TimeObjectQ. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TimeObjectQ.html