I uploaded my website to this hosting service somewhere in US.. though i'm not from US and there's a problem with dates, we're one day ahead.. so i want to set the time zone using .htaccess though i dont know how
[php_value date.timezone Europe/Aberdeen] <---- got this from research though i checked php.net and havent found the function "date.timezone". Actually, I can modify my php code in such a way that i just add "+1" to the current day.. but i want things to be more accurate when it comes to time.
I need a code for time zone
Moderator: General Moderators
Re: I need a code for time zone
date.timezone is a configuration directive and not a function. You should have searched in the entire documentation instead of just functions.
http://www.php.net/timezones
http://www.php.net/timezones