--- 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.



      
National Bingo Night. Play along for the chance to win $10,000 every week. 
Download your gamecard now at Yahoo!7 TV. 
http://au.blogs.yahoo.com/national-bingo-night/



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to