What is the "shortest" formula to calculate elapsed time when the two know values are in DateTime() type. E.g.
tVal1=DateTime()
*-- some times later
tVal2=DateTime()
I did it in a "long" function (extracting time, converting to numeric value, and then getting the difference) but I was wondering if there is a simpler way.
Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham