informix
INFORMIX-ESQL/C Programmer's Manual
ESQL/C Function Library

rmdyjul()

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

Syntax

Usage

You can express the year in full form (1996) or abbreviated form (96).

Return Codes

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.

Example

The demo directory contains this sample program in the rmdyjul.ec file.

Output


INFORMIX-ESQL/C Programmer's Manual, Version 9.21
Copyright © 1999, Informix Software, Inc. All rights reserved