method format documentation in bbn\Time

return the date in the given $format of in 'Y-m-d H:i:s' format if no argument is given to the function

function($format = '') { if ( !empty($format) ){ return $this->time->format($format); } else { return $this->time->format('Y-m-d H:i:s'); } }

return the date in the given $format of in 'Y-m-d H:i:s' format if no argument is given to the function 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.