The isValidDate() function

Verifies whether a Netezza Performance Server-encoded Date value is valid and within the Netezza Performance Server Date range.

Description

The function has the following syntax:
inline bool isValidDate(int32 encodedDate)
The encodedDate value is encoded in Netezza Performance Server Date format.

Returns

False if encodedDate < ENC_DATE_MIN or encodedDate > ENC_DATE_MAX. Otherwise, the function returns true.