how can get current year in php

how can get current year in php

<?php
echo $date=date('Y');
?>
it will display result current year