DAY(), MONTH() and YEAR() are the simple DATE functions in SAS belonging to same category. Each of these functions takes a SAS date as the only argument and returns a numeric value representing the part of the date. Like DAY of the Month, Month and Year etc.
This has been demonstrated below;
1. SAS DAY( ), MONTH( ), YEAR( ) Functions
As seen above; day function has returned the day number of the month in the given date.
Month function has returned the month number of the year.
And year has returned the value of year in YYYY format.