Adding nextDate to getDays module
refac