set dates based on a single date