title: Check if string is date or not in JavaScript
body: <p>From server, I am getting valid date for some values in object, But I don't know for which field I will get number and for which field I will get date.</p>
  
  <p>I tried with <a href="https://stackoverflow.com/q/7445328/2034794">this</a> question and its answers, It was giving correct result for string and dates, but now It is treating number as date. Any other solution to avoid treating number as date?</p>
  
  <p><strong><a href="https://stackoverflow.com/questions/2587345/javascript-date-parse">This</a> question is to parse the date in different format. And my question is about distinguishing between date and number string. And performing operations on only date strings.</strong></p>
  
  <p><strong>I am getting date in yyyy-MM-ddThh:mm:ss+Z.</strong></p>