Network EGYPT

Web Hosting Provider

How to adjust PHP Time Zone to EGYPT Times

Hi,

to adjust any of your PHP scripts to use the correct time for EGYPT , you have to use the following code PHP code

 

date_default_timezone_set(‘Africa/Cairo’);

 

This code can also be used is the configuration files in a lot of PHP scripts

for more PHP Time zones check the link http://php.net/manual/en/timezones.php

Enjoy!