# Inconsistent date values

**URL:** <https://discuss.dev.twitch.com/t/inconsistent-date-values/4438>\
**Category:** API\
**Created:** [January 14, 2016, 9:22am UTC](https://discuss.dev.twitch.com/t/inconsistent-date-values/4438 "2016-01-14T09:22:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SReject](https://avatars.discourse-cdn.com/v4/letter/s/13edae/32.png) [@SReject](https://discuss.dev.twitch.com/u/SReject)\
**Post date:** [January 14, 2016, 9:22am UTC](https://discuss.dev.twitch.com/t/inconsistent-date-values/4438/1 "2016-01-14T09:22:14Z")

</div>

The api documentation reports that date-time values are returned as `yyyy-mm-ddThh:nn:ssZ` but on some occasions its returned as `yyyy-mm-ddThh:nn:ss+00:00`

[Example Case](https://api.twitch.tv/kraken/users/mzooter/follows/channels/geico_cavemanx) - See the `created_at` field

---

<div class="post-metadata">

**Author:** ![BarryCarlyon](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/barrycarlyon/32/253_2.png) [@BarryCarlyon](https://discuss.dev.twitch.com/u/BarryCarlyon)\
**Post date:** [January 15, 2016, 11:19am UTC](https://discuss.dev.twitch.com/t/inconsistent-date-values/4438/2 "2016-01-15T11:19:11Z")

</div>

+00:00 is perfectly valid as a date format.

It’s not “broken”

Z is the same as +00:00 it doesn’t matter that the API returns a Z or a Offset which is perfectly fine under the RFC specification for DateTime formats

---

<div class="post-metadata">

**Author:** ![george](https://d3ovvz0v2ajtpu.cloudfront.net/user_avatar/discuss.dev.twitch.com/george/32/120_2.png) [@george](https://discuss.dev.twitch.com/u/george)\
**Post date:** [January 15, 2016, 5:34pm UTC](https://discuss.dev.twitch.com/t/inconsistent-date-values/4438/3 "2016-01-15T17:34:05Z")

</div>

The values should still be consistent regardless of whether the syntax is actually broken or invalid.

---

<div class="post-metadata">

**Author:** ![system](https://d2opxh93rbxzdn.cloudfront.net/original/2X/0/05909729875cce3b53e59d5561c4d23bb14948fc.png) [@system](https://discuss.dev.twitch.com/u/system)\
**Post date:** [February 14, 2016, 5:34pm UTC](https://discuss.dev.twitch.com/t/inconsistent-date-values/4438/4 "2016-02-14T17:34:04Z")

</div>

Closed on February 14, 2016, 5:34pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
