title: Compare 2 struct tm on multiplatform
body: <p>Lets say I have two </p>
  
  <pre><code>struct tm
  </code></pre>
  
  <p>I need to compare them in Linux, in Linux kernel and in Windows.
  What is the best way to make cross-platform check?</p>
  
  <p>By "compare" I mean finding out what date is bigger.
  For example - I get date at this moment and compare it to date of some account expired.</p>