informix
INFORMIX-ESQL/C Programmer's Manual
Working with Time Data Types

DATE Library Functions

The following date-manipulation functions are in the ESQL/C library. They convert dates between a string format and the internal DATE format.

Function Name Description Page Reference
rdatestr() Converts an internal DATE to a character string format B-290
rdayofweek() Returns the day of the week of a date in internal format B-292
rdefmtdate() Converts a specified string format to an internal DATE B-294
rfmtdate() Converts an internal DATE to a specified string format B-302
rjulmdy() Returns month, day, and year from a specified DATE B-324
rleapyear() Determines whether specified year is a leap year B-326
rmdyjul() Returns an internal DATE from month, day, and year B-328
rstrdate() Converts a character string format to an internal DATE B-339
rtoday() Returns a system date as an internal DATE B-342

When you compile your ESQL/C program with the esql command, esql automatically links these functions into your program.


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