rmsherman Posted May 14, 2001 Posted May 14, 2001 I have a program to keep track of my project hours. My fields are "Date", "Start Time", "End Time", and "Elapsed Time" which is a simple calculation. I would like a calculation field that will multiply my elapsed time hours and minutes by a fixed dollar amount for an accurate billing amount. Ideas? Thanks.
Kurt Knippel Posted May 14, 2001 Posted May 14, 2001 quote: Originally posted by rmsherman: I have a program to keep track of my project hours. My fields are "Date", "Start Time", "End Time", and "Elapsed Time" which is a simple calculation. I would like a calculation field that will multiply my elapsed time hours and minutes by a fixed dollar amount for an accurate billing amount. Ideas?. Assuming that your Elapsed Time calc is correctly calculating it should show how many minutes total time there is. Assuming that you bill on an hourly rate do the following: ( ElapsedTime / 60 ) * HourlyRate
rmsherman Posted May 14, 2001 Author Posted May 14, 2001 That's what I thought, but it is not working. the Start time field and end time field are time fields formated as hhmm. The elapsed time field is a calculation field (End time-start time) which givs me the correct hrs and minutes. In my calculation field for billing I used elapsed time/60. That calculation alone gives me the same number that is in my elapsed time field. Example> Start 3:00PM end 6:PM. Elapsed time =360 minutes. Elapsed time /60 also gave me the number 360. I'm missing something obvious, but maybe I'm too tired to see it.
Kurt Knippel Posted May 14, 2001 Posted May 14, 2001 quote: Originally posted by rmsherman: Example> Start 3:00PM end 6:PM. Elapsed time =360 minutes. Elapsed time /60 also gave me the number 360. I'm missing something obvious, but maybe I'm too tired to see it. You are missing something, something very obvious. Check your calcs!
BobWeaver Posted May 14, 2001 Posted May 14, 2001 time fields are stored internally as seconds, so you really need to divide by 3600 to convert to hours.
Recommended Posts
This topic is 8634 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