Day Year Month make date in MSD axapta


 Basedate date1;  
 ;  
 info(strfmt('ToDay :%1', ,systemdateget());  
 info(strfmt('Year:%1', ,year(systemdateget()));  
 info(strfmt('Day :%1', ,dayofmth(systemdateget()));  
 info(strfmt("%1",mthofyr(systemdateget()));  
 date1= mkdate(dayofmth(systemdateget()),mthofyr(systemdateget()),year(systemdateget())));  
 info(strfmt("%1",date1));