title: Compare dates in Lua
body: <p>I have a variable with a date table that looks like this</p>
  
  <pre><code>* table:
   [day]
    * number: 15
   [year]
    * number: 2015
   [month]
    * number: 2
  </code></pre>
  
  <p>How do I get the days between the current date and the date above? Many thanks!</p>