A formatted value can be displayed
or processed. A raw value conforms to Designer defaults.
Predefined patterns
The following table shows the predefined date
and time patterns that you can specify by using the Patterns option
in the Field tab of the Object palette and the results of formatting
some examples of input default values according to the locale specified.
In these examples, the locale is English (USA).
Predefined pattern
Input value (using the short format, which
is M/D/YY for date and h:MM A for time)
Formatted value
YYYY-MM-DD
8/23/08
2008-08-23
EEEE, MMMM D, YYYY
8/23/08
Saturday, August 23, 2008
HH:MM:SS
5:02 PM
17:02:00
date{YYYY-MM-DD} time{HH:MM:SS}
8/23/08 5:02 PM
2008-08-23 17:02:00
Note:
To find the default short
format for date and time, select View > XML Source and search
for the following lines:
The following table shows some custom display
patterns that you can define for formatting input default values
according to the locale specified. In these examples, the locale
is English (USA).
Custom pattern
Input value (using the short format, which
is M/D/YY for date and h:MM A for time)