title: VB6: CDate(some date) returns runtime error 13
body: <p>HI,</p>
  
  <p>I have this string: "2010-12-27 23:05:36.0". When I parse it with CDate like this: CDate("2010-12-27 23:05:36.0") it returns error 13.
  When I remove the '.0' from the string it is working fine.</p>
  
  <p>The date string comes from a database where there is a mixture of dates formatted like this: 'yyyy-mm-dd' and 'yyyy-mm-dd hh-MM-ss.n' What would be the easy way to get rid of the error 13?</p>