SQL Query to Change the Time Zone from IST to Central Time Zone in Cloud Desktop

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • anuhalkarni
    New Member
    • Apr 2013
    • 1

    SQL Query to Change the Time Zone from IST to Central Time Zone in Cloud Desktop

    As soon as I logon to Cloud Desktop By default Time Zone is Set to IST. But I want to Run a Script which will change the Time Zone from IST to Central Time Zone . I am looking for a Query which will change the Time Zone from IST to Central Time Zone.
    I want to Put this Query in the Script and try to change the Time Zone
  • Rabbit
    Recognized Expert MVP
    • Jan 2007
    • 12517

    #2
    As far as I'm aware, SQL Server uses the time zone of the computer it is running on. You would need to change the time zone of the computer. There is no separate time zone setting in SQL server itself. It does however come with various time offset functions that you can use.

    Comment

    Working...