Return a boolean depending on whether the date string is in the right format or not.
1 | isValidDate(date, format = "%Y-%m-%d")
|
format |
By default equals to "%Y-%m-%d" |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.