title: How do I validate yyyy-mm-dd hh:mm:ss format
body: <p>I saw <a href="http://jsfiddle.net/jquerybyexample/RagGb/" rel="nofollow">this</a> fiddle for validating <code>mm/dd/yyyy or mm-dd-yyyy</code> but I would like to validate <code>yyyy-mm-dd hh:mm:ss</code> format also how do I ensure that today is lesser than from date with the <code>yyyy-mm-dd hh:mm:ss</code> format?.</p>
  
  <p>this is how I have initiated my date time picker..</p>
  
  <pre><code>$("#startDate, #endDate").datetimepicker({ dateFormat: 'yyyy-mm-dd hh:mm:ss'}); 
  </code></pre>
  
  <p>Please do help me to get this done.</p>
  
  <p>Thanks</p>