I have a server in godaddy
. In php
i use that:
date_default_timezone_set('Asia/Beirut');
I try to change mysql
timezone.
I try many thing but i can't have a solution.
This is what i did:
SET time_zone ="Asia/Beirut";
also i tried this:
SET time_zone ="LB";
But i receive this message:
Unknown or incorrect time zone: 'Asia/Beirut'
this message also appear for LB
How Can i change my current mysql time zone to my own Lebanon Beirut ???
DATE(phonecall.db_nextdate)=CURDATE()
change it in using htaccess
SetEnv TZ Asia/Beirut
OR
php_value date.timezone 'Asia/Beirut'
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.