params[:event][:start_time] =params [:event][:start_time] + 1.day
params[:event][:end_time] = params[:event][:start_time] + 1.day
no implicit conversion of Symbol into Integer
start_time = DateTime.strptime(params[:event][:start_time],'%s') + 1.day