I can't find anything official, but I saw a tutorial that says strtotime()
uses GNU Date Input Formats. Those are described in detail in the GNU manual.
One discrepancy I notice is that "next" doesn't match the
behaviour described in the GNU manual. Using strtotime(), "next Thursday" will give you the same result as "Thursday", unless today is a Thursday.
If today is a Thursday, then
- strtotime("Thursday") == strtotime("today")
- strtotime("next Thursday") == strtotime("today + 7 days")
If today is not a Thursday, then
- strtotime("Thursday") == strtotime("next Thursday")
I'm using PHP 5.2.6.