I've got a form which has a date field in the following format: (MM/DD/YYYY). After the user submits the form, I want to show the user what they submitted. But I want my date in the following format: May 2, 2002. It seems simple but when I use the date function, I get December 31, 1969 as my output. I used:
$formatted_date = date("F j, Y", $input_date);
$input_date came from the form entry.