> For the complete documentation index, see [llms.txt](https://docs.cascade.io/cascade/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cascade.io/cascade/functions-and-expressions/functions/date-time/datename.md).

# DATENAME

DATENAME(`date`, `date_part`)

Returns the `date_part` of `date` as a string

### Arguments

| Argument    | Description                             |
| ----------- | --------------------------------------- |
| `date`      | Date/time value(s)                      |
| `date_part` | Part of the date/time objects to return |

### Output

Text representing the desired `date_part` of a `date`

### Example

{% embed url="<https://datawrapper.dwcdn.net/5yJM1/1>" %}
