Jump to content

C0NFUSED

Members
  • Posts

    3
  • Joined

  • Last visited

C0NFUSED's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Well I tried this: echo strtotime("last Monday of {$_POST['to-month']} {$_POST['to-year']}"); echo " / "; echo "last Monday of {$_POST['to-month']} {$_POST['to-year']}"; die(); which returns the strtotime returns nothing and the input it's getting is "last Monday of November 2013"
  2. I've found several ways and answers on how to do this.. Currently I'm trying this: strtotime("last Monday of {$_POST['to-month']} {$_POST['to-year']}"); I have confirmed that when the variables are replaced, it looks like "last Monday of May 2013" Yet I'm getting a NULL value. I've tried variations on this: "last Monday May 2013" "last Monday in May 2013" Everything I'm trying is returning NULL! strtotime does work, I use it in another place and it works great.. My server has php version 5.2
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.