MONTHNAME

Applies to: ✅ Data 360 SQL ✅ Tableau Hyper API

Returns a three-letter abbreviated month name for a date or timestamp value.

Syntax 

1monthname(<date_value>)

Arguments 

Required 

  • <date_value>: A date, timestamp, or timestamptz value.

Returns 

Returns three-letter abbreviated month-name text. NULL input returns NULL.

Considerations 

  • Names use abbreviations such as Jan, Feb, and Mar.

Examples 

Get month name from a date 

Return the abbreviated month name for January 1, 2024.

1SELECT monthname(DATE '2024-01-01') AS result;

Returns Jan.

Related Documentation