Added handling for the input of wrong date to default to the current date

Reviewer: Chezka Arevalo (post commit)

Issue: GCP-8942