Add validation check for date fields.
Authored by: b_calderwood 2011-11-30
Parent: [r5754]
Child: [r5756]