Added handling if the value variable is of date data type

Reviewer: Tiff Go

Issue: GCP-9763