I have date yyyy/mm/dd format in JavaScript and I want to display it in textbox by this format example: January 1 2014.
function displayinTextbox(){
var datetodisplay = new Date('2014/01/01'); //i want to convert it first in this format (January 1 2014)
var convertedDate = ///how??????
document.getElementById('date').value = convertedDate ;
}