public function format($format)
    {
        $timestamp = mktime(
            $this->hour,
            $this->minute,
            $this->second,
            $this->month,
            $this->day,
            $this->year
        );
        return strftime($format, $timestamp);
    }
public function format($format)
    {
        $timestamp = mktime(
            $this->hour,
            $this->minute,
            $this->second,
            $this->month,
            $this->day,
            $this->year
        );
        return strftime($format, $timestamp);
    }
public function format ( $ format ) { $ timestamp = mktime ( $ this -> hour , $ this -> minute , $ this -> second , $ this -> month , $ this -> day , $ this -> year ) ; return strftime ( $ format , $ timestamp ) ; }
Formats the date
Formats the date