Reformat code
Test for assigning a string to ?date, ?time, ?datetime
Fix string to ?date, ?time, ?datetime assignment for NA cases
Fix string -> ?string assignment case