# What time zone does "now" assume in Date math?

**URL:** <https://discuss.elastic.co/t/what-time-zone-does-now-assume-in-date-math/98733>\
**Category:** Elasticsearch\
**Created:** [August 29, 2017, 5:01pm UTC](https://discuss.elastic.co/t/what-time-zone-does-now-assume-in-date-math/98733 "2017-08-29T17:01:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Omar\_Verduzco](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/omar_verduzco/32/46183_2.png) [@Omar\_Verduzco](https://discuss.elastic.co/u/Omar_Verduzco)\
**Post date:** [August 29, 2017, 5:01pm UTC](https://discuss.elastic.co/t/what-time-zone-does-now-assume-in-date-math/98733/1 "2017-08-29T17:01:59Z")

</div>

I'm trying to find out a way to search for documents before the current date. I found a solution using the following in the query:

```
{
  range: {
    last_published_date: {
      lte: 'now/m'
    }
  }
}

```

but I'm wondering what `'now'` means to a user in Asia, if all my documents are saved specifying a time zone.

---

<div class="post-metadata">

**Author:** ![rjernst](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rjernst/32/6363_2.png) [@rjernst](https://discuss.elastic.co/u/rjernst)\
**Post date:** [August 29, 2017, 6:40pm UTC](https://discuss.elastic.co/t/what-time-zone-does-now-assume-in-date-math/98733/2 "2017-08-29T18:40:33Z")

</div>

`now` is parsed from `System.currentTimeMillis()` on the coordinating node.

---

<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:** [September 26, 2017, 6:40pm UTC](https://discuss.elastic.co/t/what-time-zone-does-now-assume-in-date-math/98733/3 "2017-09-26T18:40:51Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
