摘要: DECLARE @LocalDate DATETIME,@UTCDate DATETIME,@LocalDate2 DATETIME SET @LocalDate = GETDATE()SET @UTCDate = DATEADD(hour, DATEDIFF(hour,GETDATE(),GETUTCDATE()), @LocalDate)SET @LocalDate2 = DATEADD(hour, DATEDIFF(hour,GETUTCDATE(),GETDATE()), @UTCDate) SELECT '1. Now' [Now], @LocalDate [Date 阅读全文
posted @ 2013-09-18 10:06 大佬辉 阅读(1236) 评论(0) 推荐(0) 编辑