Add date type and validation support