rmdyjul()

Creates a value in the native database date format from an array of short integers.

Syntax

mint rmdyjul(int2 mdy[3], int4 *jdate);
  1. mdy is an array of short integer values
  2. jdate is a pointer to a long integer.

Returns

Table 1. Return codes
Code Description
0 The operation was successful.
-1204 The mdy[2] variable contains an invalid year.
-1205 The mdy[0] variable contains an invalid month.
-1206 The mdy[1] variable contains an invalid day.

Usage

The mdy parameter is an array of int, where mdy[0] is the month (1 to12), mdy[1] is the day (1 to 31), and mdy[2] is the year (1 to 9999).