This is probably something stupid that I'm doing...
Code:
printf("<h2>Birthday: %s</h2>\n", date('m-d-Y', $myrow["birthday"]));
printf("<h2>Birthday: %s</h2>\n", $myrow["birthday"]);
The top statement outputs an incorrect date: Birthday: 12-31-1969
While the bottom statement correctly outputs:
Birthday: 12-17-1977
I'm sure both statements were run on the same record in my database (plus 12-31-1969 isn't anywhere in the database).
Thanks!