XML FOR DOMINO


datetimeformat element
Example

Represents the localization formats of datetime.

Containment Hierarchy

Contained by: <field>, <column>

Syntax

<!ELEMENT datetimeformat EMPTY>

Attributes

<!ATTLIST datetimeformat

show(%datetimeformat.show;)#IMPLIED
date(%datetimeformat.date;)#IMPLIED
showtodaywhenappropriate%boolean;"false"
fourdigityear%boolean;"false"
fourdigityearfor21stcentury%boolean;"false"
omitthisyear%boolean;"false"
time(%datetimeformat.time;)#IMPLIED
zone(%datetimeformat.zone;)#IMPLIED
calendar(%datetimeformat.calendar;)#IMPLIED
>

date


fourdigityear
fourdigityearfor21stcentury
omitthisyear
show
showtodaywhenappropriate
time
zone
Defined entities for <datetimeformat> element

The %datetimeformat.calendar; entity defines different types of calendars.

Syntax:

<!ENTITY % datetimeformat.calendar "gregorian | hijri">

The following calendar types are available:

gregorian


hijri
The %datetimeformat.date; entity defines the options for date format.

Syntax:

<!ENTITY % datetimeformat.date "yearmonthday | year4monthday | monthday | yearmonth | year4month | weekdaymonthdayyear | weekdaymonthday | weekday | month | day | year">

These format options display the current date as follows:

day


month
monthday
weekdaymonthdayyear
weekdaymonthday
weekday
year
year4month
year4monthday
yearmonth
yearmonthday
The %datetimeformat.show; entity defines options for displaying the date and/or time.

Syntax:

<!ENTITY % datetimeformat.show "date | time | datetime">

These format options display the:

date


datetime
time
The %datetimeformat.time; entity defines the options for time format.

Syntax:

<!ENTITY % datetimeformat.time "hourminutesecondhundredths | hourminutesecond | hourminute | hour">

The %datetimeformat.zone; entity defines the frequency options for time zone display.

Syntax:

<!ENTITY % datetimeformat.zone "never | sometimes | always">

Example
See Also