Added a TypeConvertor instead of the System.Convert.ChangeType if the field value is a string
adding date functions