title: How to compare the 2 datetime values if they are in str/text format?
body: <p>Blame it on my bad design.
  I have the column datatype of datetime as text.
  And now, I need to compare (&lt;) 2 datetime values if one is greater than the other.
  Getting the exception as "not all arguments converted during string formatting"</p>
  
  <p>The values are in "YYYY-MM-DD HH:MM:SS" format</p>