month Syntax month(X) Arguments X is a temporal scalar/vector. Details Return the corresponding month(s). Examples month(2012.12.03); // output 2012.12M Related functions: second, minute, hour, date, year.