Article

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.

<date format=”MMMM dd, yyyy>2031-01-19</date>

Contained In

Topics

Valid TVML Attributes

binding

Associates information in a data item with an element.

format

Specifies how a date is displayed.

locale

Sets the locale for the date element.

prototype

Associates a data item type with an element.

theme

Sets the color scheme for an element.

See Also

Text Elements

decorationLabel

Displays text that describes a displayed element.

description

Displays multiple lines of text.

monogram

Displays information below a monogramLockup element.

ordinal

Displays a number.

strike

Draws a line through the designated text.

subtitle

Displays text below the subtitle's containing element.

text

Displays text on the screen.

title

Displays a short amount of text.