Newbies PeterCole Posted September 3, 2000 Newbies Posted September 3, 2000 I am trying to design a time clock. I need some help defining the necessary calculations to show the differenc between two times in the correct format (For example: In at 9, out at 5 fifteen should equal 8.25 .... but right now our formula returns 8.15 which is in essence correct in the sense that it is saying a quarter of an hour in 24hr time) Right now we are using a timetotext(IN) and timetotext(OUT) formula. Is there a proper way to do this sort of thing? Any suggestions would be greatly appreciated. Cheers, Peter
LiveOak Posted September 4, 2000 Posted September 4, 2000 Use the functions Hour(time) and Minute(time) to separate the component parts. Minutes can be turned into decimal hours by dividing by 60. DecimalTime = Hour(time) + Minute(time)/60 -bd
Recommended Posts
This topic is 8918 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now