DateObjectQ

DateObjectQ[expr]

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

Details

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

Examples

open allclose all

Basic Examples  (1)

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

Applications  (1)

DateObjectQ can be used in pattern tests for functions:

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

Text

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

BibTeX

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

BibLaTeX

@online{reference.wolfram_2021_dateobjectq, organization={Wolfram Research}, title={DateObjectQ}, year={2014}, url={https://reference.wolfram.com/language/ref/DateObjectQ.html}, note=[Accessed: 27-October-2021 ]}

CMS

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

APA

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