php - Calculate flying time of a flight considering timezone -


I am trying to calculate the flight time of travel using PHP.

Scenario:

Arrive at Singapore at 12:00 AM at 18:30 hrs. Time between Chennai and Singapore is 2: 30m, hence the flight Time is up from 49 above the landscape.

The moment I am I use JS and I can not just reduce arrival time - departure time as time zone should also be considered.

I've got the key to the airport code to find the time zone, but in PHP, I can not use the airport code for the time zone, the best time to calculate the flight time of the flight. What's the way

I think you have to create an array that connects the airport code to the relevant timezone One could not get ready ... sry

For an API, see this post:


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -