Re: fixed width variable

2003-12-02 Thread Rob Dixon
Jeff Tillotson wrote: > > I have been searching for a way to do this and have not had any luck. > > I am using localtime() to determine the day of the month. I need to > make sure the variable it returns will always be 2 digits and padded > with zeros. For example currently it is like: > $var = (

Re: fixed width variable -Thanks

2003-12-01 Thread Jeff Tillotson
Thanks for everyone's quick response to my query. regards, Jeff Jeff Tillotson wrote: Greetings, I have been searching for a way to do this and have not had any luck. I am using localtime() to determine the day of the month. I need to make sure the variable it returns will always be 2 digits and

Re: fixed width variable

2003-12-01 Thread Andrew Gaffney
Jeff Tillotson wrote: Greetings, I have been searching for a way to do this and have not had any luck. I am using localtime() to determine the day of the month. I need to make sure the variable it returns will always be 2 digits and padded with zeros. For example currently it is like: $var

RE: fixed width variable

2003-12-01 Thread Kipp, James
> > Greetings, > I have been searching for a way to do this and have not had any luck. > > I am using localtime() to determine the day of the month. I need to > make sure the variable it returns will always be 2 digits and padded > with zeros. For example currently it is like: > $var =

RE: fixed width variable

2003-12-01 Thread Tim Johnson
perldoc -f sprintf This function will do what you want. -Original Message- From: Jeff Tillotson [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2003 12:36 PM To: [EMAIL PROTECTED] Subject: fixed width variable Greetings, I have been searching for a way to do this and have not had

RE: fixed width variable

2003-12-01 Thread Wagner, David --- Senior Programmer Analyst --- WGO
Jeff Tillotson wrote: > Greetings, > I have been searching for a way to do this and have not had any luck. > > I am using localtime() to determine the day of the month. I need to > make sure the variable it returns will always be 2 digits and padded > with zeros. For example currently it is like