Getting current system datetime:
DateTimeUtil::getSystemDateTime();
Getting current date:
SystemDateGet();
DateTimeUtil::getSystemDateTime
Use DateTimeUtil::getSystemDateTime instead of systemDateGet or today.
The today function uses the date of the machine.
The systemDateGet method uses the system date in Microsoft Dynamics AX.
Only DateTimeUtil::getSystemDateTime compensates for the time zone of the user.
Source: http://msdn.microsoft.com/en-us/library/aa605545.aspx
vrijdag 17 september 2010
Get current DateTime
Abonneren op:
Reacties posten (Atom)
This is axapta ERP blog for Technical and functional fields and includes Microsoft Dynamics Axapta tutorials and Dynamics Axapta Coverage. This blog also contains x++ code help for Ax developer and solution of technical and functional daily issues. This blog is specific for Microsoft dynamics programming. Enterprise portal, SharePoint services, business connectors and Enterprise Resource Planning applications and sql database.It will help to get Microsoft Business Solutions.
BeantwoordenVerwijderenhttp://daynamicsaxaptatutorials.blogspot.com