public static function getCurrentYear($inUTC = false, $format = self::YEAR_FORMAT_LONG)
    {
        $tz = $inUTC ? 'UTC' : null;

        return (int) static::now($tz)->format($format);
    }
public static function getCurrentYear($inUTC = false, $format = self::YEAR_FORMAT_LONG)
    {
        $tz = $inUTC ? 'UTC' : null;

        return (int) static::now($tz)->format($format);
    }
public static function getCurrentYear ( $ inUTC = false , $ format = self :: YEAR_FORMAT_LONG ) { $ tz = $ inUTC ? 'UTC' : null ; return ( int ) static :: now ( $ tz ) -> format ( $ format ) ; }
Get current year.

@param bool   $inUTC
@param string $format

@return int
Get current year .