Having a issue with flight times for which is bugging me
querying flight qfa583 left on 16/03 at local sydney time of 7.35pm
I receive from the flightschedule api epoch 1363425900 for departuretimeField
when I convert this to gmt/utc i get 9.25pm
when i convert to local time i get 8.25pm
The epoch time 1363425900 converted to Sat, 16 Mar 2013 09:25:00 GMT. If you are trying to get the local time at the departure airport you need to write your conversion to take that into account. If your code is converting to an unexpected local time result it is probably defaulting to your computer’s timezone and not that of the departure airport.
Using the epoch time you provided and also using the converter link you provided I get the following result:
Yes that has been my problem. According to the qantas website it was reporting the flight departed at 7.35pm and flight aware flight tracking report 7.35pm too. However When I pulled the information from the flightschedule api i received 1363425900 which converts to the below as you tested: