--- 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 in the code you can get the digit number by month name. Feel safe with award winning spam protection on Yahoo!7 Mail. www.yahoo.com.au/mail -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/