We can use Year() and Month() functions to return Year and Month values from the Date. 
Ex: