# Date format change

**URL:** https://discuss.elastic.co/t/date-format-change/40858
**Category:** Logstash
**Created:** [February 3, 2016, 10:21am UTC](https://discuss.elastic.co/t/date-format-change/40858 "2016-02-03T10:21:14Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Prateek\_Kshtriya](https://avatars.discourse-cdn.com/v4/letter/p/c37758/32.png) [@Prateek\_Kshtriya](https://discuss.elastic.co/u/Prateek_Kshtriya)
#### Post date: [February 3, 2016, 10:21am UTC](https://discuss.elastic.co/t/date-format-change/40858/1 "2016-02-03T10:21:15Z")

</div>

Hi All,

Please help me to change the format of date which is pushed in csv through logstash.  
It is picking up as string :- "GeneratedTime":{"type":"string"}

Regards,  
Prateek Divya

---

<div class="post-metadata">

### Author: ![Prateek\_Kshtriya](https://avatars.discourse-cdn.com/v4/letter/p/c37758/32.png) [@Prateek\_Kshtriya](https://discuss.elastic.co/u/Prateek_Kshtriya)
#### Post date: [February 9, 2016, 10:25am UTC](https://discuss.elastic.co/t/date-format-change/40858/2 "2016-02-09T10:25:13Z")

</div>

Hi All ,

Please suggest how to change the "Log time" from string to date.  
PFB the sample input log time:-  
Log time:- 2/3/2016 2:59:57

Regards,  
Prateek Divya

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 6, 2017, 5:12am UTC](https://discuss.elastic.co/t/date-format-change/40858/3 "2017-07-06T05:12:32Z")

</div>


