RaffiqEddy
Programmer
Hi,
I need to get a result on the difference between 2 times (i.e.: 35min). Next, I need to convert it to “short time” format (i.e.: 00:35)
So I tried the below statement in the query:
The result was 00:00.
It was not what I expected, what I’ve miss in the statement?
Please help!
TIA & Regards.
I need to get a result on the difference between 2 times (i.e.: 35min). Next, I need to convert it to “short time” format (i.e.: 00:35)
So I tried the below statement in the query:
Code:
SELECT DateDiff('n','9:00','9:35') AS mDateDiff,
Format(DateDiff('n','9:00','9:35'),'Short Time')
AS mFormatDate
FROM Table1;
The result was 00:00.
It was not what I expected, what I’ve miss in the statement?
Please help!
TIA & Regards.