Fix the clearing of date

Reviewer: Tiff Go (post commit)

Issue: GCP-9568