use current date if no date is passed in