UTC和时区问题 - 紧急帮助 [英] UTC and Time zone question- urgent help
本文介绍了UTC和时区问题 - 紧急帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
转换(日期,( DATEADD(hh,-6,TIMEreceived)))作为DTID
我在中央时区。如何处理夏令时?
sami
解决方案
从UTC到当地时间的转换应在客户端进行。
但如果必须,请参阅:
HTTPS://博客.msdn.microsoft.com / sqlserverfaq / 2011/07 /第29 /如何对转换-UTC-时间和本地时间在SQL /
convert(date,( DATEADD(hh,-6,TIMEreceived))) as DTID
I am in Central Time Zone. How to handle Daylight savings ?
sami
解决方案
The conversion from UTC to local time should be done at the client side.
However if you must, please see:
这篇关于UTC和时区问题 - 紧急帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文