Re: How to convert month in name in to digit number

2007-11-07 Thread useperl-jeff
--- sivasakthi <[EMAIL PROTECTED]> wrote: > Hi All, > > How to convert month in name in to digit number, for example the month > is Apr then converted in to 04.. how to do that?? > > The easy way is to use a hash, %mon = ('Jan' => '01', 'Feb' => '02', ... ); then

Re: How to convert month in name in to digit number

2007-11-07 Thread Jeff Pang
--- sivasakthi <[EMAIL PROTECTED]> wrote: > Hi All, > > How to convert month in name in to digit number, for example the month > is Apr then converted in to 04.. how to do that?? > > The easy way is to use a hash, %mon = ('Jan' => '01', 'Feb' => '02', ... ); then