Re: how to date/time transforming

2004-07-05 Thread Rod Za
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.

Re: how to date/time transforming

2004-07-05 Thread Gunnar Hjalmarsson
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? You can create a hash "%months = ( Jan => '01', ... );", use a regex to extract what you need and format the string using

how to date/time transforming

2004-07-05 Thread Rod Za
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 thank you __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.co