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

 

dateformat:getdatetime

Converts a date string from JDBC date format or milliseconds into a displayable date and time string according to the format of the current DateFormat object.

Syntax

Parameters

name (required)
Name of the date-format object created with dateformat:create.

value (required)
Date string in JDBC date format or milliseconds.

valuetype (required)
Specify the value type. Possible values are as follows:

varname (required)
Name of the variable to create with the converted date string.

Description

This tag puts a formatted time string into a variable.

Error Numbers

There are no possible errno for this tag.

Example

This displays a date and time in the following format Tuesday, November 2, 2004 2:46:16 PM EST for locale en_US.

See Also

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

  Home > Contents > Index >

Oracle JSP Tag Reference
Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.