+ Reply to Thread
Results 1 to 2 of 2

Thread: how to change mysql time zone

  1. #1
    Junior Member rick001 is on a distinguished road
    Join Date
    Aug 2011
    Posts
    2

    Question how to change mysql time zone

    my database has a time zone which is 2hrs 30min behind mine, got any ideas abt what i should do? I tried using mysql queries like ADD date and all but the problem is when i use that query in the php code which reads the created_at data stored in the database i get an mysql syntax error. Plz help

  2. #2
    Super Moderator Modestas is on a distinguished road Modestas's Avatar
    Join Date
    Jun 2011
    Posts
    1,859

    Re: how to change mysql time zone

    Hello,

    Probably you have used wrong mysql command. Are you sure that you have used DATE_ADD instead of ADD_DATE ? Please check here for more information how to change mysql time zone Modwest FAQ and Knowledge Base - How do I change MySQL timezone?

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34