date and time in mysql with Client Timezone. How php and mysql manage solar/legal time?
Use javascript to obtain client time.
store date time in 0 timezone and when u serve data, let ur front end display time in client time zone
I would use JS to get client time and parse to php to store in DB
See set default time zone function in php
Обсуждают сегодня