date

Occurrence

optional/compulsory (depending on context), single

Attributes

Description

The date at which a dive, or examination, was performed or a profile, or table, was generated by a program, or a photo was taken respectively. The date consists of the <year>, the <month>, <day>, and the <dayofweek>. For sake of clarity this order is compulsory.

Not in every case the complete <date> is known. In these cases it is possible to omit <dayofweek>, <day>, or <month> — in this order.

Parent Elements

<dive>, <examination>, <generator>, <imagedata>, <purchase>, <sunk>

Child Elements

<day>, <dayofweek>, <month>, <year>

See Also

<time>

Examples

(see also <examination>, or <imagedata> e.g.)

<repetitiongroup>
    <dive>
        ...
        <!-- Date April 6th, 1999 (Tuesday) -->
        <date><year>1999</year><month>4</month><day>6</day><dayofweek>2</dayofweek></date>
        <!-- here more statements -->
        ...
    </dive>
    <!-- here can follow more dives -->
    ...
</repetitiongroup>