add date with next and prev