J
Jeremy
I have the following query. I used the hour method for the
DateDiff, but then I don't get the partial hours in a
decimal format. I switch to minutes/60, and I get 8
decimal places. Is there a way to format either so I only
show two decimal places? Thanks!
SELECT UT.Date, UT.[CSR Name], UT.[Leave time], UT.
[Scheduled Leave Time], DateDiff("n",UT.[Leave time],UT.
[Scheduled Leave Time])/60 AS Time_Saved
FROM UT
GROUP BY UT.Date, UT.[CSR Name], UT.[Leave time], UT.
[Scheduled Leave Time]
HAVING (((UT.Date)=Date()));
DateDiff, but then I don't get the partial hours in a
decimal format. I switch to minutes/60, and I get 8
decimal places. Is there a way to format either so I only
show two decimal places? Thanks!
SELECT UT.Date, UT.[CSR Name], UT.[Leave time], UT.
[Scheduled Leave Time], DateDiff("n",UT.[Leave time],UT.
[Scheduled Leave Time])/60 AS Time_Saved
FROM UT
GROUP BY UT.Date, UT.[CSR Name], UT.[Leave time], UT.
[Scheduled Leave Time]
HAVING (((UT.Date)=Date()));