Well, of course I went to the manual first and then looked around on here for a while and did not find a solution. Basically, I have something like this
while ($row = @ mysql_fetch_array($rs)) {
$time1 = $row["entry_time"];
$time2 = date(l,time1);
echo $time2;
}
$time2 gives me Wednesday, which I know is wrong because the day I took it from is Tuesday. I think it is outputting today, Wednesday.