public function format($format)
    {
        $format = str_replace('%U', sprintf("%06d", $this->u), $format);
        $format = str_replace('%u', sprintf("%d", intval($this->u)), $format);

        return parent::format($format);
    }
public function format($format)
    {
        $format = str_replace('%U', sprintf("%06d", $this->u), $format);
        $format = str_replace('%u', sprintf("%d", intval($this->u)), $format);

        return parent::format($format);
    }
public function format ( $ format ) { $ format = str_replace ( '%U' , sprintf ( "%06d" , $ this -> u ) , $ format ) ; $ format = str_replace ( '%u' , sprintf ( "%d" , intval ( $ this -> u ) ) , $ format ) ; return parent :: format ( $ format ) ; }
Formatting for current date interval
@param $format
@return string
Formatting for current date interval