{"_id":"582c7059e4a4920f00ff0065","version":{"_id":"582c7058e4a4920f00ff0045","project":"56c1e50bce02590d006091c9","__v":2,"createdAt":"2016-11-16T14:42:32.468Z","releaseDate":"2016-11-16T14:42:32.468Z","categories":["582c7058e4a4920f00ff0046","582c7058e4a4920f00ff0047","582c7058e4a4920f00ff0048","582c7058e4a4920f00ff0049","582c7058e4a4920f00ff004a","582c7058e4a4920f00ff004b","582c7058e4a4920f00ff004c","582c7058e4a4920f00ff004d","582c7058e4a4920f00ff004e","582c7058e4a4920f00ff004f","582d97124b2536250038b392"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"3.0.0","version":"3.0"},"__v":0,"project":"56c1e50bce02590d006091c9","user":"56c1e4bed9e8a90d00f888f3","category":{"_id":"582c7058e4a4920f00ff004a","version":"582c7058e4a4920f00ff0045","__v":0,"project":"56c1e50bce02590d006091c9","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-02-15T15:12:43.416Z","from_sync":false,"order":3,"slug":"faqs","title":"FAQs"},"parentDoc":null,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-02-15T15:08:31.157Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":true,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":1,"body":"All dates and times should use the ISO 8601 standard.\n\nTimes recorded by Just Eat are either stored in:\n* UTC time standard with no offset; OR\n* Local time with an accompanying offset to UTC time\n\nAll properties ending with \"WithUtcOffset\" contain local time along with an offset to UTC time.  For instance:\n**DueDateWithUtcOffset**: “2015-05-26T14:52:35.5444292+01:00”\nLocal time: 14:52, UTC time: 13:52, UTC offset: +1hr (due to daylight time saving).\n**DueDateWithUtcOffset**: “2015-02-03T11:10:00.0000000+00:00”\nLocal time: 11:10, UTC time: 11:10, UTC offset: 0 (no daylight time saving, local time is equivalent to UTC).\n\nNote that the offset may be for a timezone different to your own, so you should alway convert to your own local time for display purposes (e.g. on receipts, terminals).\n\n## Partner timestamps\n\nIdeally, timestamps sent to Just Eat should be recorded as the current local time (including any changes needed to account for daylight saving) with an offset that shows the difference between the recorded local time and the current UTC time.  If it is not possible to record timestamps in local time, timestamps may be recorded in UTC time with a 00:00 offset.","excerpt":"","slug":"date-formats","type":"basic","title":"Date and time formats"}

Date and time formats


All dates and times should use the ISO 8601 standard. Times recorded by Just Eat are either stored in: * UTC time standard with no offset; OR * Local time with an accompanying offset to UTC time All properties ending with "WithUtcOffset" contain local time along with an offset to UTC time. For instance: **DueDateWithUtcOffset**: “2015-05-26T14:52:35.5444292+01:00” Local time: 14:52, UTC time: 13:52, UTC offset: +1hr (due to daylight time saving). **DueDateWithUtcOffset**: “2015-02-03T11:10:00.0000000+00:00” Local time: 11:10, UTC time: 11:10, UTC offset: 0 (no daylight time saving, local time is equivalent to UTC). Note that the offset may be for a timezone different to your own, so you should alway convert to your own local time for display purposes (e.g. on receipts, terminals). ## Partner timestamps Ideally, timestamps sent to Just Eat should be recorded as the current local time (including any changes needed to account for daylight saving) with an offset that shows the difference between the recorded local time and the current UTC time. If it is not possible to record timestamps in local time, timestamps may be recorded in UTC time with a 00:00 offset.