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 to [...]
Archives for posts tagged ‘leading zeroes’
Leading zeroes
Tuesday, 11 November 2008