title: How to check if a string is a valid DATE, TIME or DATETIME
body: <p>When I try to put a value into a DATE field which is invalid, MySQL seems to use 0000-00-00 instead. Is there a way I can do this "check" without updating a DATE field? And to do it from for example PHP?</p>
  
  <p>Like, is there a way I can query the MySQL server and ask "Hey, is this DATE, TIME or DATETIME valid to you?"</p>
  
  <p>Or is there maybe an even better way of doing it?</p>