Custom Web Publishing Guide

Table Of Contents
Chapter 5
|
Developing FileMaker XSLT stylesheets 75
1 Month: If the number of pattern letters is three or more, the month is interpreted as text; otherwise, it is
interpreted as a number.
1 General time zone: Time zones are interpreted as text if they have names. For time zones representing
a GMT offset value, the following syntax is used:
1 GMTOffsetTimeZone. GMT Sign Hours:Minutes
1 Sign. + or -
1 Hours. Digit or Digit Digit
1 Minutes. Digit Digit
1 Digit. One of the following: 0 1 2 3 4 5 6 7 8 9
Hours must be between 0 and 23, and Minutes must be between 00 and 59. The format is locale
independent and digits must be taken from the Basic Latin block of the Unicode standard.
For parsing, RFC 822 time zones are also accepted.
1 RFC 822 time zone: For formatting, the RFC 822 4-digit time zone format is used:
1 RFC822TimeZone. Sign TwoDigitHours Minutes
1 TwoDigitHours. Digit Digit
TwoDigitHours must be between 00 and 23. Other definitions are as for general time zones.
For parsing, general time zones are also accepted.
The following examples show how date and time patterns are interpreted in the U.S. locale. The given date
and time are
2001-07-04 12:08:56 local time in the U.S. Pacific Time time zone.
Copyright 2003 Sun Microsystems, Inc. Reprinted with permission.
Date and Time Pattern Result
"yyyy.MM.dd G 'at' HH:mm:ss z" 2001.07.04 AD at 12:08:56 PDT
"EEE, MMM d, ' 'yy" Wed, Jul 4, '01
"h:mm a" 12:08 PM
"hh 'o' 'clock' a, zzzz" 12 o'clock PM, Pacific Daylight Time
"K:mm a, z" 0:08 PM, PDT
"yyyyy.MMMMM.dd GGG hh:mm aaa" 02001.July.04 AD 12:08 PM
"EEE, d MMM yyyy HH:mm:ss Z" Wed, 4 Jul 2001 12:08:56 -0700
"yyMMddHHmmssZ" 010704120856-0700