i am retrieving a $_GET variable date: $month= date(m, $date), is there a way to retrieve this and make it convert to its equivalent $month= date(F, $date)??
i need the variable info but i need to get the full textural representation of the month not just the number. And im hoping to do this w/o having to send an additional variable.
You will need to convert to a time stamp and then convert back to what you need. First, create an arbitrary date using the month that was passed (e.g "2010-".$m."-01"). Use strtotime to convert it to a time stamp and then use Date to get the full text month.
ok i got it working a little.. now i set the date on index, send it to cookie php, and use strtotime and create a time stamp, and i even retriev it where i need it in my iframe. But.. i need to increment it by 1 month while in cookie, and send it (incremented) to iframe. cannot seem to figure out how to increment it +1. any ideas?