How do I subtract two time's that are in short form(23:05) to get the difference in a integer.
Example
time1 = 15:02
time2 = 20:02
total = time2 - time1
total should be equal to 5 hrs but it doesn't work
Is there is a function for this.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 4 of 4
Thread: Time problems?!Threaded View
|
Click Here to Expand Forum to Full Width |