skip to main content
OpenAccess SDK SQL Engine core methods for Java : Exchanging data : Using the setVal method to set a date
 

Using the setVal method to set a date

Use this method to set a value for XO_TYPE_DATE column.
void setVal(
int year,
int month,
int day_of_month)
Table 96. Parameters for setVal When Setting a Date
Parameter
Type
Description
IN
year
int
Years after 0 A.D.
month
int
Months since January - [0,11].
day_of_month
int
Day of the month - [1,31].
RETURN
NONE