Sets the specified parameter to the given date object in the specified prepared statement object.
Syntax
setDate( preparedstatement , index , date )
preparedstatement.setDate( index , date )
Parameters
preparedstatement
|
the statement object to use.
|
index
|
the index of the column to set.
|
date
|
the date object to use.
|
Returns
Example
pstmt.setDate( 1, dt )
|