Glenn Smith
4/13/2005 2:01:00 PM
Thanks guys - I'm getting jumpy about my demo tomorrow!
G
On 4/13/05, James Edward Gray II <james@grayproductions.net> wrote:
> On Apr 13, 2005, at 8:49 AM, WATANABE Hirofumi wrote:
>
> > Hi,
> >
> > Glenn Smith <glenn.ruby@gmail.com> 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
>
>
--
All the best
Glenn
Aylesbury, UK