PUBDATE description

## Description

PUBDATE describes how the publication date is rendered. You can use the FIRSTSEP and SECONDSEP elements to specify the first and second separator, respectively, between day, month, and year, if applicable.

Set the FORMAT attribute to "NO" to switch off all formatting. The publication date string will be printed as it was entered into the database.

The SEQUENCE attribute selects where and whether at all day, month, and year should appear.

The DAYFORMAT, MONTHFORMAT, and YEARFORMAT attributes specify the formatting of the day, month, and year parts, respectively.

Set PADLEADINGZERO to "YY" if single-digit day and month numbers should be padded with a leading zero.

Use the ROLE attribute to specify whether this element describes the primary or secondary date. The value of "ALL" indicates that the processing application should first try the primary date. If this information is not available, it should try the secondary date.

The STYLE attribute selects the font formatting.

## Example

    <PUBDATE FORMAT="YES" SEQUENCE="MDY" MONTHFORMAT="ARABICMONTH" DAYFORMAT="ARABICDAY" YEARFORMAT="FOURDIGIT" PADLEADINGZERO="YY" ROLE="PRIMARY">
    <FOLLOWING>, </FOLLOWING>
    <FIRSTSEP>-</FIRSTSEP>
    <SECONDSEP>-</SECONDSEP>
    </PUBDATE>