# Day of the week with non UTC timestamps

**URL:** <https://discuss.elastic.co/t/day-of-the-week-with-non-utc-timestamps/291066>\
**Category:** Logstash\
**Created:** [December 6, 2021, 3:30pm UTC](https://discuss.elastic.co/t/day-of-the-week-with-non-utc-timestamps/291066 "2021-12-06T15:30:42Z")\
**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:** [December 6, 2021, 5:51pm UTC](https://discuss.elastic.co/t/day-of-the-week-with-non-utc-timestamps/291066/2 "2021-12-06T17:51:46Z")

</div>

> [@Malec](#):
>
> This is certainly not the best way to do this

Actually I think it is. sprintf references [use](https://discuss.elastic.co/t/extract-day-month-and-year-from-a-date-field-changing-timezone/267646/2) @timestamp, which is expected to be in UTC. There is an [issue](https://github.com/elastic/logstash/issues/2315) about being able to specify locale/timezone for a sprintf reference, but it has been inactive for years.

---

_[View the full topic](https://discuss.elastic.co/t/day-of-the-week-with-non-utc-timestamps/291066)._
