On one page I have an input box as such:
Date <input style='text-align=center' type=text name=theDate value=<?php echo date('m-d-Y',time()) ?>>
The page shows the date, on March 6 (today), as 03-06-2014
There is a submit button that brings you to another page.
The other page has this code:
<?php echo date('M-d-Y',strtotime($_POST["theDate"])) ?>
The date displays as Jun-03-2014
Any thoughts on why the month and day would switch?