Click here to Skip to main content
16,019,876 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
How to convert mm/dd/yyyy format of date into dd/mm/yyyy format in SqlExpress?
Posted
Updated 29-Jan-11 7:57am
v2

Date format in the database should not make any difference. It should be modified in the UI as per your need.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 30-Jan-11 1:26am    
I don't know what's so wrong in this answer so someone voted "1". Perhaps, just stupidity of the voter :-)
I vote 5. I think this it right idea. All data should be stored in database in uniform format, but UI may allow for some liberate way of dealing with formats.
--SA
You really do not give enough information to enable a precise answer.

If you mean that the instance of SQLServer has it's date format set to mm/dd/yyyy and you want it to be dd/mm/yyyy then this[^] might be useful.

If you mean that you have a procedure/function that receives a string in mm/dd/yyyy format then this[^] will help.

For anything else, please edit your question to say exactly what problem you are having.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900