So I have a web app written in PHP that will run on different Ubuntu servers around the world. Some of the servers will be configured to run on local time, some will run on UTC,
If you have timezone set you could use: http://php.net/manual/en/function.date-default-timezone-get.php
Or http://php.net/manual/en/function.timezone-name-from-abbr.php