On Thu, 30 Jan 2003, Tim Bunce wrote: > > [autarch@penguin ~]$ perl -le 'print sprintf("%02d", 1970)' > > 1970 > > [autarch@penguin ~]$ perl -le 'print sprintf("%02d", 1)' > > 01 > > > > Maybe it should be %04d though. > > Yeap. As you're specifically supporting years < 1000, I believe.
I certainly am. Fixed. -dave /*======================= House Absolute Consulting www.houseabsolute.com =======================*/