# Time + Time

Hi,

I'm working with Nav 5 and need to sum Time + Time, but and error is displayed (can't sum Time + Time)...

How can I do it?, it's just 5:00 + 3:00 = 8:00, I can't believe it doesn't work !!

Thanks

Parents
• Hi,

I'm working with Nav 5 and need to sum Time + Time, but and error is displayed (can't sum Time + Time)...

How can I do it?, it's just 5:00 + 3:00 = 8:00, I can't believe it doesn't work !!

Thanks

I can't in my mind concieve of what it means to have 3am plus 5 am, something like saying what is 25 deg C + 22 Deg C, is the correct answer :

47 or  320 or 593.

Since the question poses no logic, all three answers are potentially correct, though in my mind the correct answer would be 320 Deg C.

But if you want to get the number, then the formula is.

NewTime := 050000T + (030000T - 000000T);

So if you want TimeC, the sum of times TimeA and TimeB

TimeDif := TimeA + (TimeB - 000000T);

Now can you explain what you are using this for. • Reply
Children
Related
Recommended