Parse Month name from date variable

I have a date held in a public variable called "DOB".  I would like to make a new variable called "Month" that is just the month name from the date in the DOB variable.


var dob = '12/25/2017';

var dob_month = dob.getMonth();


Something like that... anyone have any ideas?

Hello Jeff,


Try below code 


var monthNames=['Jan','Feb','March','April','May','Jun','July','Aug','Sep','Oct','Nov','Dec'];

var dob = '12/25/2017';

var dob_month =monthNames[(new Date(dob)).getMonth()];



Sunny Singla