How do you insert data into a MySQL date or time column using PHP mysqli and bind_param?
first set the date & time using date() function-
$date=date("d/m/y");
$time=date("h:i:sa");
then pass it into the prepared statement, just like any other string variable-
$stmt = $mysqli->prepare("INSERT INTO FOO (dateColumn, timeColumn) VALUES (?,?)");
$stmt->bind_param("ss", $date , $time);
$stmt->execute();