year Syntax year(X) Arguments X is a temporal scalar/vector. Details Return the corresponding year(s). The data type of the result is INT. Examples year(2012.12.03); // output: 2012 year(2012.12.03 2011.11.05); // output: [2012,2011] (2012.12.03).year(); // output: 2012 Related functions: second, minute, hour, date, month
Examples year(2012.12.03); // output: 2012 year(2012.12.03 2011.11.05); // output: [2012,2011] (2012.12.03).year(); // output: 2012 Related functions: second, minute, hour, date, month