Habari\DateTime::getdate PHP Метод

getdate() публичный Метод

Returns an associative array containing the date information for this DateTime object, as per {@link http://php.net/getdate getdate()}
public getdate ( ) : array
Результат array Associative array containing the date information
    public function getdate()
    {
        $info = getdate($this->format('U'));
        $info['mon0'] = substr('0' . $info['mon'], -2, 2);
        $info['mday0'] = substr('0' . $info['mday'], -2, 2);
        return $info;
    }