I think you are about this:
CONVERT(datetime, date_as_string, 103)
Notice, that
datetime
hasn't any format. You think about its presentation. To get the data of datetime
in in appropriated format you can useCONVERT(varchar, date_as_datetime, 103)
No comments:
Post a Comment