Get Day, Month and Year From Date Field Using Apex

Sample Code:

Date dt = System.today(); //current date
Integer day = dt.Day(); //get day
Integer month = dt.Month(); //get month
Integer year = dt.Year(); //get year