PHP date returned incorrectly
<p>I am pulling a date value from a MySQL DB formatted as <code>01/20/13</code> I am calling the PHP date function on this value returned to get what day of the week it is, so <code>01/20/13</code> is today's date which is Sunday but it keeps returning the value Wednesday. I have included the code below I am new to programming so this is probably a stupid error I am overlooking.</p>

<pre><code>&lt;?php

        require '../TimeCard/DB.php';

    try{
    $stmt = $conn-&gt;prepare('SELECT `date` FROM `timeRecords` WHERE `employeeID`= 1 ');
    $stmt-&gt;execute();
    } catch(PDOException $e){
        echo'ERROR: ' . $e-&gt;getMessage();
    }

    while($row = $stmt-&gt;fetch())
  {
    echo date("l", $row['date']) . "&lt;br&gt;";
    echo $row['date'] . "&lt;br&gt;";
  }

        ?&gt;
</code></pre>
