Welcome Guest, Not a member yet? Register   Sign In
Trying to create condition with dates.
#2

Something like below, not tested.

PHP Code:
$today date("m-d-Y");
$date  '10-10-2020';

if (
$today $date)
{
    // true
}
else
{
    // false


SEE:

php.net - date
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
RE: Trying to create condition with dates. - by InsiteFX - 11-07-2020, 03:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB