# Conversion of timeformat

**URL:** <https://discuss.elastic.co/t/conversion-of-timeformat/270961>\
**Category:** Logstash\
**Created:** [April 22, 2021, 1:01pm UTC](https://discuss.elastic.co/t/conversion-of-timeformat/270961 "2021-04-22T13:01:47Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [April 22, 2021, 3:23pm UTC](https://discuss.elastic.co/t/conversion-of-timeformat/270961/2 "2021-04-22T15:23:37Z")

</div>

Use a date filter to parse the "2021-04-05 08:04:24+07:00" and then use a [ruby filter](https://discuss.elastic.co/t/date-field-being-converted-to-timestamps/180044/4) that calls strftime to format that timestamp in a different way.

---

_[View the full topic](https://discuss.elastic.co/t/conversion-of-timeformat/270961)._
