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

(Omar Verduzco) #1

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.

(Ryan Ernst) #2

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

(system) #3

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