RE: Date in perl

2005-09-29 Thread Wagner, David --- Senior Programmer Analyst --- WGO
Jay Savage wrote: > On 8/27/05, Gomez, Juan <[EMAIL PROTECTED]> 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 >> >>

Re: Date in perl

2005-09-29 Thread Jay Savage
On 8/27/05, Gomez, Juan <[EMAIL PROTECTED]> 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? > > > > > >

RE: Date in perl

2005-09-29 Thread Bakken, Luke
Tom Allison wrote: > Gomez, Juan wrote: >> 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? >> > I was going to say "

Re: Date in perl

2005-09-29 Thread Tom Allison
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 I was going to say "use

RE: Date in perl

2005-08-29 Thread Gomez, Juan
Thanks Luke now I understand how to do it thanks -Original Message- From: Bakken, Luke [mailto:[EMAIL PROTECTED] Sent: Saturday, August 27, 2005 10:22 AM To: Gomez, Juan; beginners@perl.org Subject: RE: Date in perl Hi all I have a problem need to work with date I have a

RE: Date in perl

2005-08-27 Thread Bakken, Luke
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? --- I normally don't just give ou

Re: Date in perl

2005-08-27 Thread Owen Cook
On Sat, 27 Aug 2005, Gomez, Juan wrote: > > 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? Well the steps are; 1

Re: Date in perl

2005-08-27 Thread David
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