calculate due date if there are a monthly frame