Does anybody can help me calculate time which more than 24 hours?

I had used
DateDiff("n",[time attend],[time finished]).
It does not give me the correct answer when somebody attend it at 21:45 and finished at 05:30 the next day.