From: James Edward Gray II Date: 2005-04-13T22:53:23+09:00 Subject: Re: Really quick question - How do I convert a string to a date On Apr 13, 2005, at 8:49 AM, WATANABE Hirofumi wrote: > Hi, > > Glenn Smith writes: > >> I need a 'Date' object which is converted from a string value >> containing something like '13/04/2005' (english format date). > > % ruby -rdate -e 'puts Date.strptime("13/04/2005", "%d/%m/%Y")' > 2005-04-13 I knew there had to be a clever solution. Nice! James Edward Gray II