September 12, 2013 at 1:05 am
Hi All,
From other source I am getting a data as string format like 'Sep 6 2013'. I want to see it as a Date format.
and the date format should be DD/MM/YYYY.
It means 'Sep 6 2013' looks like 06/09/2013.
Is it possible to to that in SQL server?
Please help!!
September 12, 2013 at 1:19 am
Hi,
Try this from Sql Server
select convert(varchar(10),convert(datetime, 'Sep 6 2013'),103)
September 12, 2013 at 1:33 am
Thanks a lot!!!
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy