How to get Current date time and work date in Microsoft Dynamics Navision.

For getting current date time in NAV create new code unit as show (here) and then write following code in code unit under ‘On Run’ trigger and then run it.



MESSAGE('Current Date : %1 \ Current Time : %2 \ Work DAte :%3',TODAY,TIME,WORKDATE);



OUTPUT:




Comments