To extract the day, month, or year from a date using the DAY, MONTH, and YEAR functions in Excel, follow these steps:
To extract the month, use the formula =MONTH(A1).
To extract the year, use the formula =YEAR(A1).
In our example, if you enter "=MONTH(A1)" in another cell, it will return "1" as the month. If you enter "=YEAR(A1)", it will return "2022" as the year.