What are the function calls to get the System date and current date using X ++ in Microsoft Dynamics AX?
Use static methods in the DateTimeUtil class:
Both return the UTC date and time, but will be converted to local time on the display.
See Best Practice .
systemDateGet () and Today ()
http://msdn.microsoft.com/en-us/library/aa672952.aspx
In dynamics Ax <2009
The current date:
Today()
The system date provided by the function today should only be used where the actual machine date is needed.
System Date:
SystemDateGet()
Most application logic should use the systemDateGet system function, which contains the logical date of the system.
SystemDateGet () is a command to get the current date in a display method.
today (), which can return a different date (this returns the date of the machine, not the date from Dynamics AX).