Does MySQL’s NOW() follow the system’s timezone or some standard like GMT or UTC?
Does MySQL’s NOW() follow the system’s timezone or some standard like GMT or UTC?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It’s in the current time zone. From the 5.1 docs:
Now “the current time zone” can mean different things:
More details are in the 5.1 time zone documentation.
(The 5.4 docs look the same for these bits. Obviously consult the docs for the version you’re running for the best possible information.)