format date only day name,month name in moment code example Example: moment get month name moment(monthNumber, 'M').format('MMMM')