Search the Community
Showing results for tags 'timezones'.
-
Display Current Time in NY, London and Tokyo using php?
Marcus2000 posted a topic in PHP Coding Help
Hi people, another quick question in regards to my webpage... Can anyone tell me the best way to display the current time in New York, London and Tokyo using php? I would like to use just hours/mins/secs (no dates) and for each city and have the time running live like a real clock. Any sugestions on how to achive this? Thank in advance. -
i have just recently purchase a server but the ttimezone is way off on both php and mysql...i did a bit of reading to create my own php.ini file so i can change timezone but it doesnt seem to change root in phpinfo() php.ini date.timezone = "Europe/London" .htaccess <Files ~ "\.(ini)$"> order allow,deny deny from all </Files> SetEnv php.ini // same location as .htacess so im boggled to why my custom php.ini isnt being read also is there a way to customise a my.cnf file from my .htaccess to change settings? thank you