How to inser value of datetime_select value in database

hi all
how to insert datetime_select value in database.
i have two fields in my form.rhtml

can any body tell how i can get this value.
i used in controller
def insert[:stock])
render_text “record inserted”
but it only enter stock name not date time value

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