Topic: how to add date from a embedded calendar to the database?
Do anyone have any idea how to enter a 'date' field selected from a embedded calendar into the database.
I put the database stucture of 'date field' like this.
Field Type Collation Attributes Null Default Extra Action
date date Yes NULL
and the code is like this.
<label for="">Select Date</label>
<%= calendar_date_select_tag "p_date" %>