cyclotron wrote in php

I have been looking all over php.net...

Is there a function to add leading zeros to an integer?

Ex 1 to 01

I know I can "0".1, but doesn't that make it a string?

***
It ended up the leading zero was not my problem (working with date() and mktime())

the sprintf looks interesting. I need to learn more about that.