在服务器上设置不同的时区 [英] Setting A Different Time Zone On A Server
问题描述
我在美国有一台服务器。我的应用程序在服务器上运行,为此我需要在服务器中设置IST时区。如何将服务器时间更改为IST?该应用程序正在运行Windows 2012服务器。
引用:SQL推迟到知道日期,时间和时区的操作系统。你不能在SQL Server中设置它。
来源: http://www.sqlservercentral.com/Forums/Topic543254-149-1.aspx#bm543426 [ ^ ]
很有用您可以在此处找到的信息: TimeZone与Sql Server的抵消 [ ^ ]。
I have a server in USA.My application is running on the server and for that i needs the timezone to be set IST in the server. How can i change the server time to IST? The application is running Windows 2012 server.
Quote:SQL defers to the OS for knowing date, time and timezone. You can''t set it within SQL Server.
source: http://www.sqlservercentral.com/Forums/Topic543254-149-1.aspx#bm543426[^]
Many useful information you''ll find here: TimeZone Offsets With Sql Server[^].
这篇关于在服务器上设置不同的时区的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!