Relative Intervals for querying

Hi All,

Please excuse my newbie question, but is there a relative interval notation? I couldn’t find any in the documentation.

So when querying, to be able to specify in the intervals property something like:

["PT2W/2016-02-15T00:00:00.000Z] (from 2 weeks back, till a specific date)

or [“PT2W/now”] (from 2 weeks back, till now)

Hi,
Druid uses standard joda interval format. (http://joda-time.sourceforge.net/apidocs/org/joda/time/Interval.html)

“P2W/2016-02-15T00:00:00.000Z” should be a valid interval.

Hi,

But how can I tell druid which date is now without hardcoding it?