Gunnar,
--- Gunnar Hjalmarsson <[EMAIL PROTECTED]> wrote:
> Rod Za wrote:
> > How to transform a date in format:
> > Thu Jan 18 03:45:50 GMT 1973
> > or
> > Qui 01 Jul 2004 21:39:21 BRT
> >
> > to format:
> >
> > 1973-01-18 / 2004-06-01
>
> Which language is the latter?
Brazilian portuguese.
>
> You can create a hash "%months = ( Jan => '01', ... );", use a regex
> to extract what you need and format the string using sprintf().
>
> A module like Date::Parse might be useful.
Thank you very much.
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>