Hi all,
I'm creating a TimeSheet Database, I need to calculate how many hours
the Employee works.The problem is that when they enter the time, it
doesn't calculate the minutes, it just calculate hours.it rounds up to
6 and not 5:30.
I'm using this formula:
Me.Hours = (DateDiff("h", Me.Start, Me.Stop))
Ex:
Start Stop Hours
08:30AM 02:00PM 6 <it should be 5 hours and half
I would be grateful, if someone can help me.
Thanks in advanced.
I'm creating a TimeSheet Database, I need to calculate how many hours
the Employee works.The problem is that when they enter the time, it
doesn't calculate the minutes, it just calculate hours.it rounds up to
6 and not 5:30.
I'm using this formula:
Me.Hours = (DateDiff("h", Me.Start, Me.Stop))
Ex:
Start Stop Hours
08:30AM 02:00PM 6 <it should be 5 hours and half
I would be grateful, if someone can help me.
Thanks in advanced.
Comment