Query to change all users to Auto DST

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • rh2004
    Senior Member
    • Jan 2004
    • 470

    Query to change all users to Auto DST

    Hello

    Can someone tell me what the SQL query is to change all users to =

    'Date & Time Options' - DST Correction Option: - Auto detect DST settings
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    Backup first.

    Turn ON autodst:
    UPDATE user SET options = options + 64 WHERE NOT(options & 64)

    Turn OFF autodst:
    UPDATE user SET options = options - 64 WHERE options & 64

    See this thread for an explanation.

    Comment

    • karabaja2
      Member
      • Jan 2008
      • 32
      • 3.7.x

      #3
      How to turn off DST completely?

      Comment

      • peterska2
        Senior Member
        • Oct 2003
        • 8869
        • 3.7.x

        #4
        Please start your own thread in the relevant forum for the version of vBulletin that you are running.

        Comment

        widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
        Working...