Storing localized date into DB


#1

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