Returns true if given datetime string is not today AND is in the future.
/** * Test IsNotTodayAndInTheFuture * * @return void */ public function testIsNotTodayAndInTheFuture() { $testDate = date(FORMAT_DB_DATE, time()); $is = $this->Time->isNotTodayAndInTheFuture($testDate); $this->assertFalse($is); $testDate = date(FORMAT_DB_DATETIME, time() + 1 * DAY); $is = $this->Time->isNotTodayAndInTheFuture($testDate); $this->assertTrue($is); }