ES|QL DAY_NAME function
date-
Date expression. If
null, the function returnsnull.
Returns the name of the weekday for date based on the configured Locale.
| date | result |
|---|---|
| date | keyword |
| date_nanos | keyword |
ROW dt = to_datetime("1953-09-02T00:00:00.000Z")
| EVAL weekday = DAY_NAME(dt);