You can use date function as bellow 

date('Y');