isDate
Modified on Mon, 21 Aug 2023
Description
Use this function to check if a value is classified as a Date object.
Syntax
isDate(value)
Returns
Return Value | Description |
---|---|
True/False | Returns true if the given value is classified as a Date object and false otherwise. |
Sample
Example | Result | Description |
---|---|---|
isDate('2022-01-01') | true | Returns true if the given value is classified as a Date object, in this case, it returns true because '2022-01-01' is a Date object. |
To view all the Language functions, click here.
See Also
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article