Possible Duplicate:
Formatting a date in javascript
I have this:
HTML
Start Date: <input type="date" id="startDate" name="startDate" ></p>
JavaScript
var mydate = new Date(form.startDate.value);
After that mydate becomes
"05/05/2010"
Now, I want to change this format to
May 2010
Is there a way of doing it in JavaScript?