Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// source : https://stackoverflow.com/questions/1699958/formatting-a-number-with-leading-zeros-in-php
str_pad($string_to_complate, 2, '0', STR_PAD_LEFT);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.