How do I get Month and Date of JavaScript in 2 digit format?

function zeroFill(i) { return (i < 10 ? '0' : '') + i}