<!--
{
  "documentType" : "article",
  "framework" : "TVML",
  "identifier" : "/documentation/TVML/date",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "date"
}
-->

# date

Displays a date.

## Overview

The `date` element contains text used to display the associated date. The date string
must be in one of the following formats:

- yyyy-MM-dd
- ISO date format
- RFC 1123 date format

Here’s an example that sets the date to January 19, 2031.

```xml
<date format="MMMM dd, yyyy">2031-01-19</date>
```

### Contained In

- [button](/documentation/TVML/button)
- [monogram](/documentation/TVML/monogram)
- [organizer](/documentation/TVML/organizer)
- [row](/documentation/TVML/row)
- [shelf](/documentation/TVML/shelf)

## Topics

### Valid TVML Attributes

[binding](/documentation/TVML/binding)

Associates information in a data item with an element.

[format](/documentation/TVML/format)

Specifies how a date is displayed.

[locale](/documentation/TVML/locale)

Sets the locale for the date element.

[prototype](/documentation/TVML/prototype)

Associates a data item type with an element.

[theme](/documentation/TVML/theme)

Sets the color scheme for an element.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)