JavaScript Get Date Midnight

d = new Date(); 
d.setHours(0,0,0,0);.
TheLonelyWolf