To all the people out there who sometimes read my blogposts. What is , in your opinion the best way to represent dates when generating a REST api which returns JSON.
Is it time in milliseconds since epoch
Is it dd-mm-yyyy H:m:s:u ?
or is it mm-dd-yyyy H:m:s:u
or is it simple the ISO 8601 spec which will be something like
Year + “-” + Month + “-” + Day +”T” +Hours + “:” + Minutes + “:” + Seconds + “+01:00”
I’m more towards the ISO spec because its an ISO format and documented and so on but for now I just dont know for sure.. Any input would be helpfull.