guys ive been lurking every forums on the net and i cant seem to find the solution on my project, ok here it goes
i have a two field and i would like to subtract this two fields to get the Downtime
DateStarted
DateEnded
Here are the Sample Data:
07/21/2008 06:30:25 AM
07/21/2008 07:30:30 AM
now i want to get the difference of these two dates the thing is i also need the complete result the format should be look like these: 01:00:05
i have tried using datediff but in no luck i don't know how to manipulate it to get the hour minute and second. i was able to get the 1:00 but i cant find a way how to get the :05.
now if by chance i would be able to get the difference of the two dates including the seconds i would like to add all of the downtime of the two dates is it possible to put it on a query and to show it on reports?
i would appreciate your help guys. thanks
i have a two field and i would like to subtract this two fields to get the Downtime
DateStarted
DateEnded
Here are the Sample Data:
07/21/2008 06:30:25 AM
07/21/2008 07:30:30 AM
now i want to get the difference of these two dates the thing is i also need the complete result the format should be look like these: 01:00:05
i have tried using datediff but in no luck i don't know how to manipulate it to get the hour minute and second. i was able to get the 1:00 but i cant find a way how to get the :05.
now if by chance i would be able to get the difference of the two dates including the seconds i would like to add all of the downtime of the two dates is it possible to put it on a query and to show it on reports?
i would appreciate your help guys. thanks
