JavaScript must be enabled in order to use this site. Please enable JavaScript in your browser and refresh the page. getyear getyear Purpose Get the year part of a date or datetime. Synopsis function getyear(d:date):integer function getyear(dt:datetime):integer Arguments d A date object dt A datetime object Return value Year as an integer. Related topics getmonth, getday Module mmsystem Parent Topic Procedures and functions