Date format for REST API

I want to encode the date format to send the date through my REST API request. I have sample response as createDate=1449092965474 I don’t know which format it is. Kindly help me decoding this date format.


It’s a javascript date in milliseconds since 1970. (Reference:

In this case:

new Date(1449092965474)


Wed Dec 02 2015 22:49:25 GMT+0100

I would recommend using ISO 8601 Format in your REST API.

Leave a Reply

Your email address will not be published. Required fields are marked *