Hi
How to Convert this date format YYYYY-MM-DD HH:MM:SS.MMM(2012-04-02 02:04:36.443) to MM/DD/YYYY HH:MM:SS(04/02/2012 02:04:36) this date format?
Thanks
Pavan
Submitted under: Microsoft SQL Server · TSQL · · ·
Hi Pavan, What is the destination to which you are sending the formatted date? If it is to a DB the format will have no effect, and when you retrieve the data from the db you would have to apply format as you want.