Getting all records from a certain year using datetime field

This might help