I browsed the forums and couldn't find this exact situation discussed so here goes.
I am trying to calculate the difference between two times that are formatted like this "830", "1110", "1430" etc.
I really don't have to worry about crossing the 24 hour mark or anything. I just need to calculate, for example, the difference between 1220 and 1310 is 50 minutes.
I searched the web and searched help and cannot figure this out.
Lets call the values TIME1 and TIME2, any ideea on a function that could calculate this? It would be good to just create a function that I can pass two variables and it returns the difference in minutes.
Any help appreciated.
I am trying to calculate the difference between two times that are formatted like this "830", "1110", "1430" etc.
I really don't have to worry about crossing the 24 hour mark or anything. I just need to calculate, for example, the difference between 1220 and 1310 is 50 minutes.
I searched the web and searched help and cannot figure this out.
Lets call the values TIME1 and TIME2, any ideea on a function that could calculate this? It would be good to just create a function that I can pass two variables and it returns the difference in minutes.
Any help appreciated.