This nested element that allows a property to be set
to the current date and time in a given format.
The date/time patterns are as defined in the
Java SimpleDateFormat class.
The format element also allows offsets to be applied to
the time to generate different time values.
Attribute |
Description |
Type |
Required |
locale |
The locale used to create date/time string.
The general form is "language, country, variant" but
either variant or variant and country may be omitted.
For more information please refer to documentation
for the java.util.Locale class.
|
String
|
?
|
unit |
The unit of the offset to be applied to the current time.
Valid Values are
- millisecond
- second
- minute
- hour
- day
- week
- month
- year
The default unit is day.
|
String ["millisecond", "second", "minute", "hour", "day", "week", "month", "year"]
|
?
|
timezone |
The timezone to use for displaying time.
The values are as defined by the Java TimeZone class.
|
String
|
?
|
pattern |
The date/time pattern to be used. The values are as
defined by the Java SimpleDateFormat class.
|
String
|
?
|
property |
The property to receive the date/time string in the given pattern
|
String
|
?
|
offset |
The numeric offset to the current time.
|
int
|
?
|