C
Chandu Chandu
Hi, Everyone I am a newbie to ruby....
just started with some examples
i have array
date = ['12/09/2007','06/06/2004','10/06/2005']
i wanted to sort dates in ascending order i.e
['06/06/2004','10/06/2005','12/09/2007']
tried using
p data.sort
could any one explain me whether there is built in class or need to
break tha date string
yyyy mm dd and compare ..
regards
chandu
just started with some examples
i have array
date = ['12/09/2007','06/06/2004','10/06/2005']
i wanted to sort dates in ascending order i.e
['06/06/2004','10/06/2005','12/09/2007']
tried using
p data.sort
could any one explain me whether there is built in class or need to
break tha date string
yyyy mm dd and compare ..
regards
chandu