Well, first, take out the first 4 characters - that's the year.

The next 2 characters are the month - make an array, 1 is January, 12 is
December - then use that to convert to a month string.

Then the last two characters are the day.

On Sat, 2005-08-27 at 08:12 -0500, Gomez, Juan wrote:
> Hi all 
>  
>  
> I have a problem need to work with date 
>  
> I have a input like these :   20050829 and I need to change it to
> something like this : Aug 29 2005
>  
> but it still eludes me how to do that 
>  
> can anyone help me please?
>  
>  
>  
>  
>  
> thanks 
>  
>  
> Armando


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


Reply via email to