JavaScript must be enabled in order to use this site. Please enable JavaScript in your browser and refresh the page. setyear setyear Purpose Set the year part of a date or datetime. Synopsis procedure setyear(d:date,y:integer) procedure setyear(dt:datetime,y:integer) Arguments d A date object dt A datetime object y Year Related topics setmonth, setday Module mmsystem Parent Topic Procedures and functions