Home > Contents > Index >
Template Tags TOC   |    Alpha TOC   |    Tag Family TOC   |    Purpose TOC   |    Annotated TOC   |    Index 

 

dateformat:create

Creates a date-format object which can be used to convert a date value to a displayable string.

Syntax

Parameters

name (required)
Input. Name to assign the date-format object.

locale (optional)
Name of the locale object to use for this date-format object. If not specified, the default is the current machine default locale.

datestyle (optional)
Style for date. Default is MEDIUM. The possible values are as follows:

timestyle (optional)
Style for time. Default is MEDIUM. The legal values are as follows:

TIMEZONEID (optional)
TimeZoneID for the DateFormat object. See TimeZoneID Numbers for a list of ID numbers.

Description

This tag creates a date-format object which can be used for formatting a date for display in a specified locale.

errno

None.

Example

This displays a date with the information Jan 12, 1952 ;3:30:42pm in the locale of the current user.

See Also

dateformat:getdate
dateformat:gettime
dateformat:getdatetime
locale:create

  Home > Contents > Index >

FatWire JSP Tag Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.