|Oracle Call Interface Programmer's Guide
Part Number A89857-01
OCI Datatype Mapping and Manipulation Functions, 26 of 135
Gets the date of next day of the week, after a given date.
sword OCIDateNextDay ( OCIError *err, CONST OCIDate *date, CONST OraText *day, ub4 day_length, OCIDate *next_day );
The OCI error handle. If there is an error, it is recorded in
err and this function returns OCI_ERROR. Obtain diagnostic information by calling
Returned date should be later than this date.
First day of week named by this is returned.
Length in bytes of string
First day of the week named by
day later than
Returns the date of the first day of the week named by
day that is later than
Get the date of the next Monday after April 18, 1996 (a Thursday).
OCIDateNextDay() returns '22-APR-96'.
This function returns and error if an invalid date or day is passed to it.