|int __stdcall SFDB_ISWKND||(||LONG||argDate,|
Returns TRUE if the reference date falls on a (short/long) weekend.
- status code of the operation
- Return values
NDK_TRUE date falls on a weekend NDK_FALSE date does not fall on a weekend NDK_FAILED Operation unsuccessful. See SFMacros.h for more details.
- See Also
[in] argDate is a serial date number that represents a given date [in] holidays is a (:_:) separated list of holiday codes [in] zDates is an array of holidays dates; each expressed as a serial number (i.e. number of days since 1.1.1970) [in] nSize is the number of holiday dates in zDates [in] nWkndNo is the weekend number (1-7, 11-17). [in] argOptions is a switch to specify how to test for short or long weekends (1 = all (default), 2 = ignore holidays, 3 = only short weekends, 4 = only long weekends).
- All (default)
- Ignore holidays (same as (1), but treats long weekend as short)
- Only short weekends
- Only long weekends