javascrptt get current month code example Example: javascript getmonth new Date().getMonth(); //note that Jan=0, Dec=11 (annoying I know)