Hi,
a simple problem, but I didn't find the answer via google.
I have two dates and want to make the difference:
The result is saved in a table in the following format: hh:mm:ss
for example: 00:01:03
So far so good. But when there are more than 24 hours between begin and end the difference is for example:
31/12/1899 13:34:36
How can I make the format look good, so it will show 37:34:36 ?
thanks in advance
frederik
a simple problem, but I didn't find the answer via google.
I have two dates and want to make the difference:
Code:
begin = Now()
'some other code
end = Now()
diff = end - begin
The result is saved in a table in the following format: hh:mm:ss
for example: 00:01:03
So far so good. But when there are more than 24 hours between begin and end the difference is for example:
31/12/1899 13:34:36
How can I make the format look good, so it will show 37:34:36 ?
thanks in advance
frederik