Any reason why you wouldn't create a custom calendar and use INTNX()?