Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js validate date object

function isValidDate(dateObject){
    return new Date(dateObject).toString() !== 'Invalid Date';
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #validate #date #object
ADD COMMENT
Topic
Name
4+7 =