I am writing a report that sums the amount of time a person spend on a function over a period of time. I am using the folling to calculate the sum for month
=Format(DateAdd("n",[txtEmpTotMinutes],#12:00:00 AM#),"hh") & ":" & Format(DateAdd("n",[txtEmpTotMinutes],#12:00:00 AM#),"nn")
txtEmpTotMinutes = the total minutes worked for month (The db stores all time in minutes)
As example one emp. has a total of 10,560 minutes spent but the above function returns 08:00.
What part of dateadd am I missing ?
=Format(DateAdd("n",[txtEmpTotMinutes],#12:00:00 AM#),"hh") & ":" & Format(DateAdd("n",[txtEmpTotMinutes],#12:00:00 AM#),"nn")
txtEmpTotMinutes = the total minutes worked for month (The db stores all time in minutes)
As example one emp. has a total of 10,560 minutes spent but the above function returns 08:00.
What part of dateadd am I missing ?