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:
2016-11-01T20:44:39Z
instead of timestamp in milliseconds like this: 1583749154495
Accoding to What pattern should be used to parse RFC 3339 datetime strings in java, 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.