web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :

how to get date of today using X++ in ax 2009?

Abdel Fatah Ahmed Profile Picture Abdel Fatah Ahmed

Sometimes you need date of today for some business in your work to filter or compare or something like this 

this simple example to get date of today :

void printdateoftoday()

{

date today=today();

;

info(strfmt("Date Of Today is  : %1", today));

}

function called today this function to get the date of today 

Comments

*This post is locked for comments