New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
date_default_timezone_set("America/Toronto") or whatever timezone you want to use.
You have to set the timezone correctly in PHP.
http://www.w3schools.com/php/func_date_default_timezone_set.asp
<?phpecho gmdate("m-d-Y h:i:s A");
Got it. Thanks guys
date.timezone = America/Toronto
in php.ini