I have a timestamp field and the date & time appear fine in it through phpMyAdmin, however when I do a SELECT UNIX_TIMESTAMP(field), it returns a unix timestamp for me to use in PHP but it is in the future.
It is in the future by a considerable time - about 6 or 7 hours, also the timezones are different, I was not aware that MySQL had its own clock, I thought it just used system time. Do you know how to set the MySQL clock in Linux?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.