Making sure that days are format yyyy-mm-dd

When turning array of year,month,day to string, add "0" in front of
values smaller than 10,