Convert time to unix time
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/3682748/converting-unix-timestamp-string-to-readable-date-in-python">Converting unix timestamp string to readable date in Python</a>  </p>
</blockquote>



<p>When I do <code>time.time()</code> I get something like: <code>1342648659.223746</code>. How can I convert it to unix time that looks like this: <code>2012-07-18T21:42:00Z</code>?</p>
