Separate validation of year from the whole date to display specific error message.
New error messages:
1. Date must be specified in the YYYY-MM-DD format.
2. Year must between 1900 and 9999.

Issue: GCP-9569

Reviewer: Chezka Camille Arevalo