0

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()
mohamad mohamad
  • 613
  • 9
  • 24

1 Answers1

0

change it in using htaccess

SetEnv TZ Asia/Beirut

OR

php_value date.timezone 'Asia/Beirut'
Kiwagi
  • 168
  • 5
  • 17