【问题标题】:Calculate daylight saving info using datetime offset in UTC with SQL Server 2008 R2使用 UTC 中的日期时间偏移量和 SQL Server 2008 R2 计算夏令时信息
【发布时间】:2011-08-10 20:17:00
【问题描述】:

如何在 SQL Server 2008 中使用 UTC 中的日期时间偏移量计算夏令时信息?

即我需要 SQL Server 中的夏令时感知日期时间偏移数据类型。

【问题讨论】:

    标签: sql-server-2008


    【解决方案1】:

    你看过这个吗?我意识到 unix 部分可能不适用,但公式可能。 Daylight savings time in Sql Server

    然后是这个:http://www.mssqltips.com/tip.asp?tip=1372

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2014-12-14
      • 2011-07-20
      • 1970-01-01
      • 2022-01-23
      • 2012-04-07
      • 2014-02-04
      • 2015-03-07
      • 2012-12-17
      相关资源
      最近更新 更多