I have a start time and and an end time and would like to calculate the duration expended between the two. This is very simple to do when the start and end time's are the same time zone, like in the below flight example
Some points
- Departure formatted to YYYY-MM-DD
- Arrival formatted to YYYY-MM-DD
- Duration calculated like so
=IF(NOT(AND(ISBLANK(D2),ISBLANK(C2))),MOD(D2-C2,1)*24,0)
Now if I introduce time zones and try to carry out the same calculations, the equation obviously fails, and to be completely honest, I don't even know how to begin the calculation to try to make it work.
Some Points
- Departure UTC is set to General format
- Arrival UTC is set to General format
Could someone provide a minimal working example (MWE) of an equation which will calculate the flight duration based on local departure and arrival times.