Viewing 3 posts - 1 through 3 (of 3 total)
Hi,
check it :
select
convert(varchar,convert(datetime,
substring('29/10/2007',charindex('/','29/10/2007')+1,2)+'/'+
left('29/10/2007',charindex('/','29/10/2007')-1)+'/'+
right('29/10/2007',charindex('/',reverse('29/10/2007'))-1)
),101)
Output: 10/29/2007
November 20, 2007 at 12:16 am
HI,
U can try in this way:)
select convert(varchar, getdate(), 3) ---19/11/07
select convert(varchar, getdate(), 103)---19/11/2007
thnxm
Arjuna
Orange Business Services(India)
November 19, 2007 at 6:50 am
Hi ,
Not sure that the following code will help u or not. If it then u may put it into proc or can use it to update.Given below example as...
November 19, 2007 at 6:40 am
Viewing 3 posts - 1 through 3 (of 3 total)
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