Added date parsing

GetValue returns a DateTime object if the output type is a date