Date & Time
This page describes how to use date and time functions in Lenses SQL Processors.
Every Date Math expression starts with a base date or time followed by the addition or subtraction of one or more durations.
The base date or time (from here onward) is derived from a field in a table or a function such as now()
or yesterday()
that generates datetime values.
The shorthand syntax is a unit value followed by a unit symbol. The symbols are:
y (year)
M (month)
w (week)
d (day)
h (hour)
m (minute)
s (second)
Last updated