Validate dates in trial manager and nursery manager with the dateformat 'yyyy-mm-dd'

Issue: GCP-9569

Reviewer: Chicka