Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 SQL Server 中删除 Epoch 格式的 TIME?
示例: 2713795200000应返回2055 年 12 月 30 日星期四 00:00:00 ,而不是2055年 12 月 30 日星期四 16:00:00 GMT。
您可以使用以下查询来解决您的问题。可能是它帮助你。
SELECT DATEADD(DAY, (2713795200000)/(1000*60*60*24), '19700101')