When I run a stored procedure in SQL Server 2008 CTP I get date "2012-10-31 00:00:00.000" with this format.
But when I am converting it using
Convert.ToString(drConversation["ConversationDate"])
in C#, I am getting "10/31/2012 12:00:00 AM".
Where should be problem? In C# code or in SQL Server?
Convert.ToDateTime(drConversation["ConversationDate"]).ToString("yyyy-MM-dd HH:mm:ss.fff")in C# and get the exact same format as SQL Server returns - so what is the REAL problem here?? I don't see any issue....