title: Date comparison in Bash
body: <p>I need to compare two dates/times using Bash.</p>
  
  <p>Input format: 2014-12-01T21:34:03+02:00</p>
  
  <p>I want to convert this format to <code>int</code> and then compare the <code>int</code>s of the two dates.</p>
  
  <p>Or does bash have another way to compare two dates?</p>