Year Functions!

Hello Guys!

I am tryimg to get table's field of year day moth but I have to write like;

for example the date is 01/01/2016 and i have to return  return  2016-quarter 1  in display method to show on form

january february mrah is quarter 1 and  april may june is quarter 2 .....

I have get the date is from table and then I have to return the date's quarter and year.

could you guys help me please?