how to get date of today using X++ in ax 2009?
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
*This post is locked for comments