<date>

About The Date Tag

<widget>
  <date>Thu Dec 23 2021 17:54:40 GMT-0500 (EST)</date>
</widget>

The <date> element defines a widget date element.

Inner Text

The <date> element can have any character as the inner text excluding < and > and trimming white space. < must be converted to the &lt; entity. > must be converted to the &gt; entity. & can optionally be converted to the &amp; entity. The inner text should be a date defined by the Date() object. The inner text is the date that will be displayed.

Attributes

font - font

Defines the font family and size of the date.

lineLimit - posInt

Defines the maximum line limit.

minimumScaleFactor - decimal

Defines the minimum scale factor.

shadowColor - colour

Defines the shadow color.

shadowOffset - point

Defines the shadow offset.

shadowRadius - posInt

Defines the shadow radius.

textColor - colour

Defines the date color.

textOpacity - decimal

Defines the opacity of the date.

url - url

Defines the URL of the date.

alignText - alignText

Defines the horizontal alignment of the date.

applyStyle - applyStyle

Defines the style of the date.

Last updated