From: Ray Baxter Date: 2008-06-08T14:13:16+09:00 Subject: Re: Date.parse("28/03/2008") gives error??? On Jun 7, 2008, at 9:43 PM, miles.sterrett@gmail.com wrote: > On Jun 8, 12:04 am, Greg Hauptmann > wrote: >> but that's not the format I get the data in :( I'm in Australia. >> >> Any ideas? >> >> On 6/8/08, Nicolas Pelletier wrote: >> >>> Hello, >> >>> On Sun, Jun 8, 2008 at 12:35 PM, Greg Hauptmann >>> wrote: >> >>>> Date.parse("28/03/2008") gives me an error? >> >>> Try: >> >>> Date.parse("03/28/2008") >> >>> -- >>> Nico >> >> > > Perhaps this link I found can be of use: > http://source.mihelac.org/2006/9/13/parsing-european-date-format-in-ruby-rails That would work, but so would this: Date.strptime('28/03/2008', '%d/%m/%Y') Ray