且构网

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

如何使SQL Server以AM / PM格式保存datetime?

更新时间:2022-12-04 15:56:13

内部日期和时间作为一个数字存储。

Internally the date and time are stored as a number.

无论是以12或24小时制显示,都是由程序格式化显示。

Whether it's displayed in a 12 or 24 hour clock is up to the program formatting it for display.