I have dates in my database that go back quite a ways, such as 1942-05-16. I need to convert those dates into a more standard format, such as May 16, 1942. But when I use strtotime on these dates, I get December 31, 1969.
For example, if $row[old_date]='1942-05-16', my code looks like this:
$hist_date=date('F j, Y', strtotime($row['old_date']));
If you echo $hist_date, you get December 31, 1969.
How can I convert these older dates into the format I want?