Jump to content

strtotime(feb 31 2009)


dadamssg

Recommended Posts

so how would i wrap that in an if statement? im not sure what the checkdate will return and how many equal signs to put, etc.

 

if( bool checkdate( int $month, int $day, int $year ) === false)
    {
      echo "the date you selected is non existent, dumbass";
    }

Link to comment
https://forums.phpfreaks.com/topic/150189-strtotimefeb-31-2009/#findComment-788755
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.