title: Converting Unix timestamp to readable time string in Rust?
body: <p>How can I convert the Unix timestamp <code>1524820690</code> to a readable date time string?</p>
  
  <p>Just like this in Python:</p>
  
  <pre class="lang-py prettyprint-override"><code>In [1]: from datetime import datetime
  In [2]: print(
     ...:     datetime.fromtimestamp(1284101485).strftime('%Y-%m-%d %H:%M:%S')
     ...: )
  2010-09-10 14:51:25
  </code></pre>