dayofmth is method to return Day and dayname is method to show name of day in string. strfmt is string method to show any type of variable in string format.
To return Name of d Day in string ( Monday,Tuesday,Wednesday etc) by passing Date as my parameter Value you can try this method or code in axapta x++.
info(strfmt("Name of the Day - %1",dayname(dayOfMth(today()))));
To return Name of d Day in string ( Monday,Tuesday,Wednesday etc) by passing Date as my parameter Value you can try this method or code in axapta x++.
info(strfmt("Name of the Day - %1",dayname(dayOfMth(today()))));