javascript获取当前月份

javascript获取当前月份

new Date().getMonth(); 
//note that Jan=0, Dec=11 (annoying I know)

你可能感兴趣的:(javascript,前端,html,json,ajax)