Alfasith AX

Alfasith AX
اللَّهُمَّ انْفَعْنِي بِمَا عَلَّمْتَنِي، وَعَلِّمْنِي مَا يَنْفَعُنِي، وَزِدْنِي عِلْمًا

Monday, April 14, 2014

To get time difference in Dynamic AX


Hi,

DateTimeUtil::getDifference(DateTimeUtil::getSystemDateTime(), AnotherDateTime)
//Here time components of both the fields are taken out and its difference is being calculated.

Regards,


No comments:

Post a Comment

Get a table ID in SQL - D365

Hi select ID from SysTableIdView where  SysTableIdView .Name = 'CustTable' Regards,