Storing localized date into DB

receiving a date string param[:company][:contracted_on] like
“11/01/2009” (format “%e/%m/%Y”)

what should I write to convert the params into an acceptable DateTime
attribute in the DB, ?
(in a before_save in my model… )

thanks for your suggestions

Happy New Rails btw …

erwin

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs