title: How to declare date, time and datetime in java constructor and php mysqli ?
body: <p>I've set column in mysql db with type String, int, double, float, date, time, datetime</p>
  
  <p>If String, int, double, float data type can be declare as "sidf" in mysqli_stmt_bind_param , what about date, time, datetime? </p>
  
  <p>And also in java , let say i create constructor name Req</p>
  
  <pre><code>Public class Req{
     Public Req(String name, int qty, double price, float pay, date? , time?, datetime?){}
  }
  </code></pre>
  
  <p>What data type for those three (dare, time and datetime)?</p>