Hi Experts
I have a simple code that computes time duration between 2 times in minutes. For example, 10:00 am to 2:00 pm is 240 minutes. And 6:15 pm to 9:15 pm is 180 minutes.
BUT, when I attempt to roll over to the next day ie 10:00 pm to 2:00 am, I keep getting -1200 minutes.
I searched but can not find a quick code that will compute this correctly to 240 minutes.
Here is my code so far:
![]()
Please Login or Register to view this content.
Bookmarks