method setDate documentation in bbn\Db\History

function($date) { // Sets the current date if (!Str::isNumber($date) && !($date = strtotime($date))) { return; } $t = time(); // Impossible to write history in the future if ($date > $t) { $date = $t; } $this->date = (float)$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.