Статьи / JavaScript / Date


getMonth

Возвращает месяц в диапазоне (0-11)

var d = new Date();
d.getMonth(); //0 - январь