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

Like
Report
*This post is locked for comments