Properly handle >6 digit datetime and time microseconds. #312