MorganGreylock
Programmer
I'm trying to get some columns to all line up, and instead of trying to calculate the length of the date and insert an appropriate number of spaces, I'd rather see if theres a way I can force this date:
4/5/2005
to appear like this:
04/05/2005
So that every value on each line will have the same length, making all my columns line up nicely. Is there a relatively easy way of doing this? I didn't want to go through the trouble of checking each value < 10 or whatever, but I can if necessary.
Thanks in advance
4/5/2005
to appear like this:
04/05/2005
So that every value on each line will have the same length, making all my columns line up nicely. Is there a relatively easy way of doing this? I didn't want to go through the trouble of checking each value < 10 or whatever, but I can if necessary.
Thanks in advance