Topic: Date.strptime in rails 3.0.x
I would like to convert a date in another format.
In my controller I get the date in dd/mm/yyyy format and I need to convert it in the yyyy/mm/dd format before to store it into the db.
I found a way to convert dates through the Date.strtime method butin rails 3.0.9 it isn't available.
How can I do that?
Is there another way to convert dates format?
Thanks to all