R
rob stanton
Very new to this so can anyone tell me how to change the date format
from 20100901 to something like 01-09-2010 ?
I have a number of dates like => [["20100824"], ["20100825"],
["20100826"]],
Date.parse("20100824").strftime("%d %b %Y") # thanks Robert
=> "24 Aug 2010"
but how do I parse each date in turn and get a new array with the
standard date format ???
I have looked in a lot of places but can't find the answer.
Thanks for any help...
from 20100901 to something like 01-09-2010 ?
I have a number of dates like => [["20100824"], ["20100825"],
["20100826"]],
Date.parse("20100824").strftime("%d %b %Y") # thanks Robert
=> "24 Aug 2010"
but how do I parse each date in turn and get a new array with the
standard date format ???
I have looked in a lot of places but can't find the answer.
Thanks for any help...