Home > Contents > Index >
DATEFORMAT.CREATE
Creates a date-format object, which is later used to convert between a date value and a displayable string.
Syntax
<DATEFORMAT.CREATE NAME="format object" [LOCALE="locale"] [DATESTYLE="style"] [TIMESTYLE="style"] [TIMEZONEID="zone"] />Parameters
NAME (required)
- Name of the date format object to create.
LOCALE (optional)
- Name of the locale object to use for this date-format object. If not specified, the default is the current Locale object.
DATESTYLE (optional)
- Style for date. Default is
MEDIUM
. The possible values are as follows:
SHORT
- Completely numeric, such as 12.13.52.MEDIUM
- Longer, such as Jan 12, 1952.LONG
- Longer, such as January 12, 1952.FULL
- Fully specified, such as Tuesday, April 12, 1952 AD.TIMESTYLE (optional)
- Style for time. Default is
MEDIUM
. The legal values are as follows:
medium
- (Default) Completely numeric, such as 3:30:42pm.full
- Fully specified, such as 3:30:42pm PST. The timezone will only be appended if it is specified by the timezoneid attribute.
TIMEZONEID (optional)
- TimeZoneID for the DateFormat object. See TimeZoneID Numbers for a list of ID numbers.
errno
None.
Release Introduced
This tag was introduced in CS release 5.0.
Home > Contents > Index > ![]()
FatWire XML Tag Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.