# Can not parse dates

**URL:** <https://community.swiftype.com/t/can-not-parse-dates/718>\
**Category:** API\
**Created:** [May 29, 2018, 10:20pm UTC](https://community.swiftype.com/t/can-not-parse-dates/718 "2018-05-29T22:20:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![george.jovanovic](https://avatars.discourse-cdn.com/v4/letter/g/b2d939/32.png) [@george.jovanovic](https://community.swiftype.com/u/george.jovanovic)\
**Post date:** [May 29, 2018, 10:20pm UTC](https://community.swiftype.com/t/can-not-parse-dates/718/1 "2018-05-29T22:20:11Z")

</div>

Hi, I´m new to Swiftype and I´m experiencing problems when indexing date fields. I got the following error when trying to change from text data type to date data type:

Value ‘2018-05-29T18:01:00’ cannot be parsed as a date (RFC 3339)

I´m using the python API and formating dates as isoformat()

Thanks in advance,

George

---

<div class="post-metadata">

**Author:** ![george.jovanovic](https://avatars.discourse-cdn.com/v4/letter/g/b2d939/32.png) [@george.jovanovic](https://community.swiftype.com/u/george.jovanovic)\
**Post date:** [May 30, 2018, 4:53pm UTC](https://community.swiftype.com/t/can-not-parse-dates/718/2 "2018-05-30T16:53:07Z")

</div>

Solved. Added ‘Z’ to end.
