sql server - Convert modified date and time in sql -
i want date in mm/dd/yyyy
format, when put modify_date "date" gives 2017-03-15 08:44:58.660 , want convert date mm/dd/yyyy.
try convert, here have definition , examples...
convert(data_type(length),expression,style)
in style need 101...
convert(varchar(10),<yourdatefieldhere>,101)
hope help!
Comments
Post a Comment