# Turn string record time into date format

**URL:** <https://forum.avicennaresearch.com/t/turn-string-record-time-into-date-format/281>\
**Category:** Support\
**Created:** [February 23, 2021, 4:00pm UTC](https://forum.avicennaresearch.com/t/turn-string-record-time-into-date-format/281 "2021-02-23T16:00:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![chumanhluan1005](https://forum.avicennaresearch.com/letter_avatar_proxy/v4/letter/c/dbc845/32.png) [@chumanhluan1005](https://forum.avicennaresearch.com/u/chumanhluan1005)\
**Post date:** [February 23, 2021, 4:00pm UTC](https://forum.avicennaresearch.com/t/turn-string-record-time-into-date-format/281/1 "2021-02-23T16:00:01Z")

</div>

Hi all,

In my data, I have the record time format as 2019-06-15T23:47:09.736000+0000 currently in string format. Could you please consult on how to convert it into date format?

Thanks,

Luan

---

<div class="post-metadata">

**Author:** ![m.hashemian](https://forum.avicennaresearch.com/letter_avatar_proxy/v4/letter/m/a5b964/32.png) [@m.hashemian](https://forum.avicennaresearch.com/u/m.hashemian)\
**Post date:** [February 24, 2021, 1:29pm UTC](https://forum.avicennaresearch.com/t/turn-string-record-time-into-date-format/281/2 "2021-02-24T13:29:24Z")

</div>

Hi @chumanhluan1005

Converting from that string to date depends on the environment that you are at. For example, if you are in Python, converting that to a “Date” instance can be done using the following code:

```python
from datetime import datetime
datetime.strptime('2019-06-15T23:47:09.736000+0000', '%Y-%m-%dT%H:%M:%S.%f%z')

```

If Excel however you need to enter the format, though I’m not familiar with that.

Hope it helps

---

<div class="post-metadata">

**Author:** ![chumanhluan1005](https://forum.avicennaresearch.com/letter_avatar_proxy/v4/letter/c/dbc845/32.png) [@chumanhluan1005](https://forum.avicennaresearch.com/u/chumanhluan1005)\
**Post date:** [March 2, 2021, 5:45pm UTC](https://forum.avicennaresearch.com/t/turn-string-record-time-into-date-format/281/3 "2021-03-02T17:45:59Z")

</div>

Thanks, I will do that in Python.
