Leading zeros are purely an artefact of how you decide to present the information to the user.

They have no mathematical significance at all.

Look at say "%04d" as a printf format for...