In my Ruby on Rails 4 app I need to convert user entered dates like...
25.07.2014
25/07/2014
...possibly even...
25-07-2014
...into a the default Date format that can be stored in MySQL database.
2014-07-25
How can this be done?
Thanks for any help.