Loading...
This page describes the DATE function in Lenses SQL.
DATE(days)
Builds a local date value from a long or int value. This function can also be used with no parameters to return the current ISO date.
Available in:
Sample code:
USE `kafka`; SELECT DATE() FROM sea-vessel-position-reports LIMIT 1;
Output:
{ "value": { "DATE": "2023-11-29T00:00:00Z" } }
✓