method isBefore documentation in bbn\Time

Return if $this->time is before of the given $date

function($date) { //check if the argument $date is an instance of this class if ( $date instanceof $this){ $tmp = $date; } else { $tmp = new \bbn\Time($date); } return $this->getTime() < $tmp->getTime(); }

Return if $this->time is before of the given $date BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.