basta che fai

var variabile = new Date("oct 21 2004")