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);
Technical Tutorials x++,tips on issues or troubleshooting On Ax ERP ,Microsoft Dynamics 365,Ax 2012,Microsoft , U.S.,Business Software solution.