Loading

ES|QL MONTH_NAME function

Embedded
date

Date expression. If null, the function returns null.

Returns the month name for the provided date based on the configured Locale.

date result
date keyword
date_nanos keyword
ROW dt = to_datetime("1996-03-21T00:00:00.000Z")
| EVAL monthName = MONTH_NAME(dt);