title: Awk ISO to epoch
body: <p>I am writing a script in bash using <code>awk</code> (mawk) and I would like to return the output of a system command to awk.  </p>
  
  <p>I have a variable called <code>created</code> that is in ISO format: <code>2013-12-26T17:03:05Z</code> and I want to convert it from ISO to epoch.  I can run this line <code>created_epoch=system("date +\%s -d " created)</code> and it prints the output to the terminal, but the variable <code>created_epoch</code> is equal to <code>0</code>, not the epoch time.</p>
  
  <p>Does anyone know how I can convert an ISO format to epoch in awk?</p>
  
  <p>Thanks!</p>