Global::TimeDifference method was used in ax 2009. I want to replace a same method in 2012.
What can I use to get the difference between two dates in dynamics ax 2012 just convert the dates into numbers and subtract one from the other. The result type would be TimeHour24.