informix
Informix DataBlade API Programmer's Manual
DataBlade API Function Descriptions

rleapyear()

The rleapyear() function returns 1 (TRUE) when the argument that is passed to it is a leap year and 0 (FALSE) when it is not.

Syntax

Usage

The argument year must be the year component of a date and not the date itself. You must express the year in full form (1996) and not abbreviated form (96).

Return Codes

1 The year is a leap year.
0 The year is not a leap year.


Informix DataBlade API Programmer's Manual, Version 9.2
Copyright © 1999, Informix Software, Inc. All rights reserved