How to get day,month,year from your date variable using axapta x++
to Get day from date
dayOfMth(your date variable or date value)
to Get month from date
mthOfYr(your date variable or date value)
to Get year from date
year(your date variable or date value)