G
Guest
Next problem...I've got 4 fields labeled as follows
TRAVELSTART
TRAVELEND
TRAVELSTART
TRAVELEND
Now, I've got my calculation expression so it will somewhat correctly add my total travel times on my form. The problem is when I jump past midnight on my times it obviously adds the times incorrectly because it doesn't know that the time past midnight is a new day. Example is as follows
TRAVELSTART1 is 18:00 (1/13/04
TRAVELEND1 is 21:00 (1/13/04
TRAVELSTART2 is 21:00 (1/13/04
TRAVELEND2 is 00:30 or 30 minutes past midnight (1/14/04
When my calculation is made on my form it gives me a TOTALTRAVEL of 17:30 or 17 hours 30 minutes. Not exactly accurate. Is there any way around this? And is there any way to convert my TOTALTRAVEL to a decimal representation of the time (ie. 19:30 to 19.5, 19:15 to 19.25, etc.)? Thanks in advance.
TRAVELSTART
TRAVELEND
TRAVELSTART
TRAVELEND
Now, I've got my calculation expression so it will somewhat correctly add my total travel times on my form. The problem is when I jump past midnight on my times it obviously adds the times incorrectly because it doesn't know that the time past midnight is a new day. Example is as follows
TRAVELSTART1 is 18:00 (1/13/04
TRAVELEND1 is 21:00 (1/13/04
TRAVELSTART2 is 21:00 (1/13/04
TRAVELEND2 is 00:30 or 30 minutes past midnight (1/14/04
When my calculation is made on my form it gives me a TOTALTRAVEL of 17:30 or 17 hours 30 minutes. Not exactly accurate. Is there any way around this? And is there any way to convert my TOTALTRAVEL to a decimal representation of the time (ie. 19:30 to 19.5, 19:15 to 19.25, etc.)? Thanks in advance.