I am trying to make a PHP function that returns the UTC timezone for a given airport code (IATA/FAA).
What the function should do is something like this:
<
Seeing as the question is still open I'd like to point to my very own timezone map files. For your particular purpose, the IATA tzmap seems perfect:
https://raw.github.com/hroptatyr/dateutils/tzmaps/iata.tzmap
Obviously, you'd have to snarf the offset in question (it depends on a date as it might change over time) from the zoneinfo files, e.g. with zdump(1).