Warning: date() expects parameter 2 to be long, string given in 
<p>i keep getting this error on the car_detail.php page on my database</p>

<blockquote>
  <p>Warning: date() expects parameter 2 to be long, string given in /home/speedycm/public_html/speedyautos/cars_class.php on line 228*</p>
</blockquote>

<p>cars_class.php reads this on line 228</p>

<pre><code>$this-&gt;expiry_date = date("m/d/Y", $rows['expiry_date']);
</code></pre>

<p>how can i resolve this?</p>
