Return if $this->time is the same 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 the same 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