how to get the current Day, Month and year in moment js code example Example: moment get month day //The correct function to use is .date(): date.date() === 25;