print euro php leading zeros code example Example: prepend 0 to number php str_pad($month, 2, '0', STR_PAD_LEFT);