Added format() method in DateDatatype. Using format to parse incoming values.