Hi,
I'm trying to find a find to compare two 'times'. I tried to use datecompare, but as the function indicates it's only to compare two dates.
I would like to know the difference betweed an start and an end time, including a day. Because someone can access my website at midnight and continue 'the day after'.
E.g.: starting at monday on 23.59 and stop on tuesday 01.00u
E.g:
Starttime: 11:15:20 [HH:MM:SS]
Endtime: 12:16:21 [HH:MM:SS]
Should I also include the day?
The result should be:
01:01:01 [HH:MM:SS]
Is theire a way of doing this?
Many thanks in advance.
Bram
I'm trying to find a find to compare two 'times'. I tried to use datecompare, but as the function indicates it's only to compare two dates.
I would like to know the difference betweed an start and an end time, including a day. Because someone can access my website at midnight and continue 'the day after'.
E.g.: starting at monday on 23.59 and stop on tuesday 01.00u
E.g:
Starttime: 11:15:20 [HH:MM:SS]
Endtime: 12:16:21 [HH:MM:SS]
Should I also include the day?
The result should be:
01:01:01 [HH:MM:SS]
Is theire a way of doing this?
Many thanks in advance.
Bram