Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Habari
DateTime
__toString
Habari\DateTime::__toString PHP Метод
Документация по классу DateTime
Показать файл
Открыть проект
__toString()
публичный
Метод
Magic method called when this object is cast to string. Returns the unix timestamp of this object.
public
__toString
( ) :
string
Результат
string
The unix timestamp
public function __toString() { return is_string($result = $this->format('U')) ? $result : '0'; }
DateTime
__get
__static
__toString
create
date_create
difference
format
friendly
fuzzy
get
get_default_date_format
get_default_datetime_format
get_default_time_format
get_default_timezone
get_last_exception
get_timezone
getdate
modify
out
set_date
set_default_date_format
set_default_datetime_format
set_default_time_format
set_default_timezone
set_isodate
set_time
set_timezone
text_format
text_format_callback