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