Warning: date() expects parameter 2 to be long
<p>Getting the following error:</p>

<blockquote>
  <p>Warning: date() expects parameter 2 to be long, string given in /home/15063/brooks/www.brooks-shopping.co.uk/public_html/wp-content/themes/sandbox/functions.php
  on line 546</p>
</blockquote>

<p>Which points to the line:</p>

<pre><code>$day = date("l, F jS", get_post_meta($post-&gt;ID, 'date_value', true));
</code></pre>

<p>Can someone suggest, what changes are required to the above line to resolve this please?</p>
