且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在sqlExpress中将日期的mm/dd/yyyy格式转换为dd/mm/yyyy格式

更新时间:2023-01-29 10:20:41

Date format in the database should not make any difference. It should be modified in the UI as per your need.


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.