
|
date2 < Attributes < Home |
![]()
date2The date2 attribute is used within the <map> tag to specify a custom format for displaying the date and time within the WxScope Plugin's legend. WxScope Plugin displays the date and time of a map on two lines near the top of the legend. By default, the date is displayed on the first line and the time is displayed on the second line. The date1 attribute specifies a custom format for the first line in the legend, while the date2 attribute specifies a custom format for the second line. Both date1 and date2 use a convention from the Standard C Libraries for specifying custom date formats. |
Supporting TagsThe date2 attribute is supported by the <map> tag. |
Examples<!-- Displays in the form "1:05:27" --> <map date2="%H:%02M:%02S"> <!-- Displays in the form "Monday at 15 minutes past 10" --> <map date2="%A at %M minutes past %H"> |
NotesCustom formats are particularly useful when display products that don't apply to a specific time, such as statistical products that cover an entire month, day, or year. Although WxScope Plugin displays the date on the first line and the time on the second by default, date and time fields may be freely mixed on both lines using a custom format. Literal text may also be combined with the date and time fields using a custom format. |
![]()
Confidential. Copyright © 2002, Oklahoma
Climatological Survey. All Rights Reserved.
Send questions or comments concerning this web page to
wolfie@ou.edu.