Add leading zeros to date formats

A date like 11:3:24 doesn't look good. Therefore add a leading zero to minutes and seconds.