function isNaturalDate(string) {
    var validNaturalDate = (new Date(string)).getTime() > 0;
    
    if (validNaturalDate == true) {
        return true;
    } else {
        return false;
    }
}
// check if string contains a natural language date
check if string contains a natural language date
check if string contains a natural language date
function isNaturalDate(string) {
    var validNaturalDate = (new Date(string)).getTime() > 0;
    if (validNaturalDate == true) {
        return true;
    } else {
        return false;
    }
}
function isNaturalDate ( string ) { var validNaturalDate = ( new Date ( string ) ) . getTime ( ) > 0 ; if ( validNaturalDate == true ) { return true ; } else { return false ; } }
check if string contains a natural language date
check if string contains a natural language date