Returns the holiday code that falls on the given date.
Syntax
NxFindHLDY(date, holidays)
- date
- is the serial date number that represent the date of concern. If missing or omitted, the current date is used.
- holidays
- is an array of holiday codes (e.g. NYD, USA-PRS, etc). If missing, the US public calendar is used.
Remarks
- See Holidays for a list of currently supported holidays.
- Excel stores dates as sequential serial numbers so they can be used in calculations. By default, January 1, 1900 is serial number 1, and January 1, 2008 is serial number 39448 because it is 39,448 days after January 1, 1900.
- Most functions automatically convert date values to serial numbers.
Examples
Example 1:
Formula | Description (Result) |
---|---|
=NxFindHLDY(DATE(2010-07-04)) | FALSE |
=NxFindHLDY(DATE(2010-07-05)) | TRUE |
=NxFindHLDY(DATE(2010-12-25)) | FALSE |
Files Examples
References
- Hans-Peter Deutsch, Derivatives and Internal Models, Palgrave Macmillan (2002), ISBN 0333977068
Comments
Article is closed for comments.