HI Guys - relative newbie, so apologise if this has been answered, I did look around, but couldn't find anything.
I have built a dashboard, it has a time input that generated values like: earliest = -15m to latest = now, how can I turn these into SQL compatible data types so that when I execute:
| dbxquery query="SELECT * FROM tableName WHERE created BETWEEN $LATEST$ AND $EARLIEST$" connection="dbConnectionName"
Where in the illustration above my time picker is: $tok.timeWindow.earliest$ to $tok.timeWindow.latest$
So that the earliest and latest values can sit within a between clause.