aziz rasul
Active member
- Local time
- Today, 19:39
- Joined
- Jun 26, 2000
- Messages
- 1,935
I have the following code: -
Normally the processing time is under 24 hours. However I have a process that can take over 2 days. How can I amend the code so that I would have say
2 days, 4 hours and 20 minutes
or something similar?
Code:
Dim StartTime As Date
Dim FinishTime As Date
Dim TotalTime As Date
StartTime = Now
some processing code
FinishTime = Now
TotalTime = FinishTime - StartTime
Normally the processing time is under 24 hours. However I have a process that can take over 2 days. How can I amend the code so that I would have say
2 days, 4 hours and 20 minutes
or something similar?