D
Dave S
I have seen numerous suggestions for formatting elapsed time formats into
hours and minutes such as:
=[Minutes] \ 60 & Format([Minutes] Mod 60, "\:00")
I need to calculate my elapsed times (between two fields in a database) down
to the second. I already have the proper DateDiff("s", startfield, endfield)
worked out. It is returning the proper number of seconds elapsed.
I really would like to then display this information on forms, reports, etc.
as hh:mm:ss format. the format shown above works ok up to 59 minutes, and 59
seconds but then shows 60, 61, 62, (even into 3 and four digit minutes) etc.
in the minutes.
For example: What format can I use to show 01:02:15 (i.e., 1 hour 2 minutes
15 seconds) from the calculation in the DateDiff function that returns 3735
seconds??
thanks
dave
hours and minutes such as:
=[Minutes] \ 60 & Format([Minutes] Mod 60, "\:00")
I need to calculate my elapsed times (between two fields in a database) down
to the second. I already have the proper DateDiff("s", startfield, endfield)
worked out. It is returning the proper number of seconds elapsed.
I really would like to then display this information on forms, reports, etc.
as hh:mm:ss format. the format shown above works ok up to 59 minutes, and 59
seconds but then shows 60, 61, 62, (even into 3 and four digit minutes) etc.
in the minutes.
For example: What format can I use to show 01:02:15 (i.e., 1 hour 2 minutes
15 seconds) from the calculation in the DateDiff function that returns 3735
seconds??
thanks
dave