Add error check to default to today's date if no date given