If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
How to calculate time difference?
I have a table called report, and there is a column called time
the format of time is hh:mm, like 21:20 and i want to set up a query to calculate overtime for example Engineer time overtime john 21:20 (this one to calculate overtime, which is the time after 20:00) what is the formula to calculate time? i tried to type OT: [time]- 20:00 and it doesnt work. so is there any method to calculate that? thx all -- One moment that for me epitomises my time here is when Steven Gerrard, my new captain at the time, scored against Sofia and ran over to the touchline to celebrate the goal with me and the staff. I want to stress again that there is no bitterness; there is no ill feeling just a huge sadness at the moment. |
#2
|
|||
|
|||
How to calculate time difference?
Elapsed time can be calculated as follows:
([EndDateTime] - [StartDateTime]) * 24 ....or you can use the DateDiff function, but be careful how you use it or your result may be off. Note that it is assumed that your field includes the date AND time...if it does not, you need to make some changes in your design to allow for the possibility of work spanning multiple days. "barton" wrote in message ... I have a table called report, and there is a column called time the format of time is hh:mm, like 21:20 and i want to set up a query to calculate overtime for example Engineer time overtime john 21:20 (this one to calculate overtime, which is the time after 20:00) what is the formula to calculate time? i tried to type OT: [time]- 20:00 and it doesnt work. so is there any method to calculate that? thx all -- One moment that for me epitomises my time here is when Steven Gerrard, my new captain at the time, scored against Sofia and ran over to the touchline to celebrate the goal with me and the staff. I want to stress again that there is no bitterness; there is no ill feeling just a huge sadness at the moment. |
#3
|
|||
|
|||
How to calculate time difference?
Elapsed time can be calculated as follows:
([EndDateTime] - [StartDateTime]) * 24 ....or you can use the DateDiff function, but be careful how you use it or your result may be off. Note that it is assumed that your field includes the date AND time...if it does not, you need to make some changes in your design to allow for the possibility of work spanning multiple days. "barton" wrote in message ... I have a table called report, and there is a column called time the format of time is hh:mm, like 21:20 and i want to set up a query to calculate overtime for example Engineer time overtime john 21:20 (this one to calculate overtime, which is the time after 20:00) what is the formula to calculate time? i tried to type OT: [time]- 20:00 and it doesnt work. so is there any method to calculate that? thx all -- One moment that for me epitomises my time here is when Steven Gerrard, my new captain at the time, scored against Sofia and ran over to the touchline to celebrate the goal with me and the staff. I want to stress again that there is no bitterness; there is no ill feeling just a huge sadness at the moment. |
#4
|
|||
|
|||
How to calculate time difference?
Thanks so much.. its done now!
-- One moment that for me epitomises my time here is when Steven Gerrard, my new captain at the time, scored against Sofia and ran over to the touchline to celebrate the goal with me and the staff. I want to stress again that there is no bitterness; there is no ill feeling just a huge sadness at the moment. "Paul Overway" ¦b¶l¥ó ¤¤¼¶¼g... Elapsed time can be calculated as follows: ([EndDateTime] - [StartDateTime]) * 24 ...or you can use the DateDiff function, but be careful how you use it or your result may be off. Note that it is assumed that your field includes the date AND time...if it does not, you need to make some changes in your design to allow for the possibility of work spanning multiple days. "barton" wrote in message ... I have a table called report, and there is a column called time the format of time is hh:mm, like 21:20 and i want to set up a query to calculate overtime for example Engineer time overtime john 21:20 (this one to calculate overtime, which is the time after 20:00) what is the formula to calculate time? i tried to type OT: [time]- 20:00 and it doesnt work. so is there any method to calculate that? thx all -- One moment that for me epitomises my time here is when Steven Gerrard, my new captain at the time, scored against Sofia and ran over to the touchline to celebrate the goal with me and the staff. I want to stress again that there is no bitterness; there is no ill feeling just a huge sadness at the moment. |
#5
|
|||
|
|||
How to calculate time difference?
Thanks so much.. its done now!
-- One moment that for me epitomises my time here is when Steven Gerrard, my new captain at the time, scored against Sofia and ran over to the touchline to celebrate the goal with me and the staff. I want to stress again that there is no bitterness; there is no ill feeling just a huge sadness at the moment. "Paul Overway" ¦b¶l¥ó ¤¤¼¶¼g... Elapsed time can be calculated as follows: ([EndDateTime] - [StartDateTime]) * 24 ...or you can use the DateDiff function, but be careful how you use it or your result may be off. Note that it is assumed that your field includes the date AND time...if it does not, you need to make some changes in your design to allow for the possibility of work spanning multiple days. "barton" wrote in message ... I have a table called report, and there is a column called time the format of time is hh:mm, like 21:20 and i want to set up a query to calculate overtime for example Engineer time overtime john 21:20 (this one to calculate overtime, which is the time after 20:00) what is the formula to calculate time? i tried to type OT: [time]- 20:00 and it doesnt work. so is there any method to calculate that? thx all -- One moment that for me epitomises my time here is when Steven Gerrard, my new captain at the time, scored against Sofia and ran over to the touchline to celebrate the goal with me and the staff. I want to stress again that there is no bitterness; there is no ill feeling just a huge sadness at the moment. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need to calcualte difference between 2 time fields | Paul D | Worksheet Functions | 3 | May 26th, 2004 05:44 PM |
How to calculate a response time of 1 to 5 days | Peggy | Worksheet Functions | 1 | May 21st, 2004 03:00 PM |
calculate on time | sallyt | Worksheet Functions | 3 | April 15th, 2004 06:19 PM |
Time difference | Alien1155 | Worksheet Functions | 0 | March 22nd, 2004 05:16 PM |
Calculate cooking time | Pierre | Worksheet Functions | 3 | February 10th, 2004 09:43 PM |