Friday, October 2, 2015

How to get date time difference in axapta

By using DateTimeUtil class method getDifference you can get date time difference . You need to pass parameter in function. Here its showing difference following way.

DateTimeUtil::getDifference(DateTimeUtil::getSystemDateTime(), table.DateTime);