title: Date vs Timestamp - Best practices regarding date formats
body: <p>This post is meant to be language agnostic. What should you have in mind, when designing APIs having dates in them?
  What could be a possible advantage of having:
  <code>2016-11-01T20:44:39Z</code> instead of timestamp in milliseconds like this: <code>1583749154495</code></p>
  
  <p>Accoding to <a href="https://stackoverflow.com/questions/40369287/what-pattern-should-be-used-to-parse-rfc-3339-datetime-strings-in-java">What pattern should be used to parse RFC 3339 datetime strings in java</a>, even RFC 3339 format can differ. Why not use timestamps in all places, for example when building REST backend APIs?
  Another possible advantage of that, is that you send timestamp as a number to front-end, and then front-end libraries take care of things like Time Zone, displaying adjusted date output to each individual user.</p>