On Thu, 19 Aug 2010 18:36:08 -0400, "LAS" <(E-Mail Removed)> wrote:
>I have start and end times in tables. I want to write a report that shows
>the elapsed time in hours and minutes. I've got the elapsed time in minutes
>(currently a string, but it seems as if I could use an integer as well). Is
>there anything already written that will convert the minutes (using totals,
>the minutes could be in the hundreds or thousands), to hours and minutes?
>
>tia
>las
>
Sure:
DateDiff("h", [start time], [end time]) & ":" & Format(DateDiff("n", [start
time], [end time]) \ 60), "00")
--
John W. Vinson [MVP]
Microsoft's replacements for these newsgroups:
http://social.msdn.microsoft.com/For...-US/accessdev/
http://social.answers.microsoft.com/.../en-US/addbuz/
and see also
http://www.utteraccess.com