Hello,
I am not sure if this is the correct sub-forum for this post, but it seemed the most relevant of them.
I am trying to subtract two columns with time values in 24 hour time format. Column A being "Launch Time" , Column B being "Land Time" and create a calctulated field.
I am having some issues though when the Land Time is "less than" the Launch Time.
For example: Launch time = 19:45 and Land Time = 02:05 the result it gives me when usign the expression "LAND TIME" - "LAUNCH TIME" is 17:40 when my desired result would be 06:20.
I have also tried using an iif statemtn of:
iif (Land time) < (Launch Time), (Launch Time) - (Land Time), (Land Time) - (Launch Time) but it still gives me the same results as the above expression.
I am not sure why it won't calculate Launch time = 19:45 and Land Time = 02:05 the result it gives me when usign the expression "LAND TIME" - "LAUNCH TIME" is 17:40
as -17:40 either.
Any insights on how to accuratley get the flight duration times between these two fields? The issues come from when a flight takes off at lets say 1900 on March 2nd but lands at 0500 on March 3rd. The dates for the data set are in seperate columns which are listed as "Launch Date" and "Land Date"
I am not sure if this is the correct sub-forum for this post, but it seemed the most relevant of them.
I am trying to subtract two columns with time values in 24 hour time format. Column A being "Launch Time" , Column B being "Land Time" and create a calctulated field.
I am having some issues though when the Land Time is "less than" the Launch Time.
For example: Launch time = 19:45 and Land Time = 02:05 the result it gives me when usign the expression "LAND TIME" - "LAUNCH TIME" is 17:40 when my desired result would be 06:20.
I have also tried using an iif statemtn of:
iif (Land time) < (Launch Time), (Launch Time) - (Land Time), (Land Time) - (Launch Time) but it still gives me the same results as the above expression.
I am not sure why it won't calculate Launch time = 19:45 and Land Time = 02:05 the result it gives me when usign the expression "LAND TIME" - "LAUNCH TIME" is 17:40
as -17:40 either.
Any insights on how to accuratley get the flight duration times between these two fields? The issues come from when a flight takes off at lets say 1900 on March 2nd but lands at 0500 on March 3rd. The dates for the data set are in seperate columns which are listed as "Launch Date" and "Land Date"