阅读背景:

如何在SQL中处理时间存储

来源:互联网 

I have a web application that I'm writing (C#, MSSQL) and I need to store the timestamp when a record is stored in the system. Normally, I would just do this with SQL and the DATETIME function. However, the server is located in a different time zone than our company is located... AND we may change to another server in completely different time zone. The hosting company will not change the server time to match our local time zone. (Not that I blame them, but it was one thing I tried.)I have a web application that I'm writing (C#,




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: