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