此函数返回给定日期时间的年份。
date_get_year(date);
Real
myyear = date_get_year(date_current_datetime());
这将把“myyear”设置为当前年份。