days of the month working, added a new function to get the next given date