I've got a pesky date problem...
I send a string from a form on one page that provides YEAR and MONTH info (GET method)
and it seems to receive the data into the target script just fine:
Example the target script gets this
$MONTHFILTER = $_GET['MONTHFILTER'];
If the value is "2005-01"
and I
echo "$MONTHFILTER";
I see "2005-01" just like I would expect.
But I want to see the month name for this value at certain places.
So I try the basic method of:
$month = date('F', substr($MONTHFILTER, 5, 2));
but the statement
echo "$month";
always outputs "December"
Anybody? Thanks.
