Connecting Tech Pros Worldwide Forums | Help | Site Map

Time conversion from military to clock time

Newbie
 
Join Date: Oct 2007
Posts: 1
#1: Oct 14 '07
I have two fields Time-in & Time-out that are in military time. I have to calculate the difference (to get the total amt. of time spent working) then show the time as clock time. I've only been working with Access for 2 weeks and am not at the level yet to do this.

FishVal's Avatar
Expert
 
Join Date: Jun 2007
Location: Israel
Posts: 2,584
#2: Oct 14 '07

re: Time conversion from military to clock time


Hi, Renee.

Try something like this.

Expand|Select|Wrap|Line Numbers
  1. Format([Time-out]-[Time-in],"hh:mm")
  2.  
NeoPa's Avatar
Administrator
 
Join Date: Oct 2006
Location: London - UK
Posts: 15,730
#3: Oct 14 '07

re: Time conversion from military to clock time


Quote:

Originally Posted by Renee Zarazinski

I have two fields Time-in & Time-out that are in military time. I have to calculate the difference (to get the total amt. of time spent working) then show the time as clock time. I've only been working with Access for 2 weeks and am not at the level yet to do this.

Are the military time fields stored as strings? Or are they Date/Time fields merely displayed in that format?
Reply


Similar Microsoft Access / VBA bytes