Home > Contents > Index >  
Expanded TOC   |    Accordion TOC   |    Annotated TOC   |    Index

 

Utilities.sqlDate

Returns a string formatted as JDBC date/time from a calendar object.

Syntax

Parameters

cal
Calendar with date and time.

Returns

Returns the date and time in form YYYY-MM-DD HH:MM:SS.

Example

The following code writes the final second of 2002 into dateStr:

See Also

calendarFromJDBCString

 

   Home > Contents > Index >

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