Vanilla JavaScript add leading zeroes to date

Vanilla JavaScript add leading zeroes to date

More to explore