implements automatic conversion from string to Date, Time and Datetime types properties