jasonwood Posted October 27, 2004 Posted October 27, 2004 I have two time fields, start time and end time. I want to have a third field that calculates the number of HOURS in decimal format. So if the difference between the time fields is 1:30, the calculation field would be "1.5" Any help?
jasonwood Posted October 27, 2004 Author Posted October 27, 2004 Sometimes asking the question is all it takes to figure it out... Here's what I came up with: ( ( ( Hour ( logTimeEnd ) * 60 ) + Minute ( logTimeEnd ) ) - ( ( Hour ( logTimeStart ) * 60 ) + Minute ( logTimeStart ) ) ) / 60
Recommended Posts
This topic is 7402 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