Is there a functionality in AB to count calendar days between today and a specific date in the future? The purpose is to get the number of days to option expiration for entry into an option pricing calculator (for which there is AB code available).
I've searched here and in the AB formula library, but unless I'm just looking in the wrong places there doesn't seem to be a function like that or code that can be adapted. (There are "Third Friday" coding examples, but they only go as far as the next consecutive month, not into subsequent months or the next year.) It's an easy calculation in Excel, of course, but I wanted to find out if I was simply overlooking an AB-based solution. TIA for any responses. Sebastian
