The rjulmdy() function

The rjulmdy() function creates an array of three short integer values that represent the month, day, and year from an internal DATE value.

Syntax

mint rjulmdy(jdate, mdy)
   int4 jdate;
   int2 mdy[3];
jdate
The internal representation of the date.
mdy
An array of short integers, in which mdy[0] is the month (1 - 12), mdy[1] is the day (1 -31), and mdy[2] is the year (1 - 9999).

Return values

0
The operation was successful.
< 0
The operation failed.
-1210
The internal date cannot be converted to the character string format.