WLJS LogoWLJS Notebook

DateObjectQ

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

Examples

Check if an expression is a valid date object:

DateObjectQ[DateObject[{2020, 1, 1}]]
(* True *)

Please visit the official Wolfram Language Reference for more details.

On this page