Archives for the Date November 11th, 2008

Leading zeroes

I am working on a project where occasionally I need to keep time using dates in the format YYYYMMDD. I sometimes also need to move back and forth between these dates and numeric year, month, day, which requires things like turning the numeric month 1 into the string "01". The general syntax for turning numbers [...]