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

 

date:convert

Converts a specific date to an epoch format integer.

Note

If you take the result of date:convert and use it as an input value to date:clocklist, the specific date returned is different from the originally converted date because date:convert is 0-based for month and day values, while date:clocklist is 1-based for month and day values.

Syntax

Parameters

varname (required)
Input and output parameter. As input, name of a variable to create with the integer date format on output.

year (required)
Input parameter. The year number.

month (required)
Input parameter. The month number (0-based; that is, 0=January, 11=December).

day (required)
Input parameter. The day number (0-based; that is, Sunday=0; Saturday=6.)

hour (optional)
Input parameter. The hour number (default is 0).

ampm (optional)
Input parameter. The am/pm specifier (default is am).

minute (optional)
Input parameter. The minute number (default is 0).

timezone (optional)
Input parameter. A specified time zone.

   Home > Contents > Index >

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