Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
cognos79
Posting Yak Master
241 Posts |
Posted - 2007-01-12 : 01:09:34
|
I need to convert date into this format: mon dd yyyy hh:mi:ssAM (or PM). |
|
harsh_athalye
Master Smack Fu Yak Hacker
5581 Posts |
Posted - 2007-01-12 : 03:49:59
|
[code]select stuff(convert(varchar(30), getdate(),109),21,4,'')[/code]Harsh AthalyeIndia."The IMPOSSIBLE is often UNTRIED" |
 |
|
cognos79
Posting Yak Master
241 Posts |
Posted - 2007-01-15 : 18:14:52
|
thanks harsh...it worked |
 |
|
|
|
|