From: "Michael W. Ryder" <_mwryder@...> Date: 2008-07-15T13:20:30+09:00 Subject: Re: date format Raveendran Jazzez wrote: > Sijo Kg wrote: >> Hi >> Could you please help this also..I have a string >> sd_ticket_end_date= 15/01/2008 >> Then how can I format this to 01/15/2008 >> >> >> Sijo > > Example 1: > > a="15/01/2008" > x=a[0,2] > a[0,2]=a[3,2] > a[3,2]=x > puts a => 01/15/2008 > or you could use a = a[3,3]+a[0,3]+a[6,4] > Regards, > P.Raveendran > http://raveendran.wordpress.com