Метод | Описание | |
---|---|---|
arr ( array $array = null ) : |
Creates an instance of Array Standard Object. | |
datetime ( string | integer $time = "now", null | string $timezone = null ) : |
Create an instance of DateTime Standard Object. | |
str ( string $string ) : |
Creates an instance of String Standard Object. | |
url ( string $url ) : |
Creates an instance of Url Standard Object. |
protected static datetime ( string | integer $time = "now", null | string $timezone = null ) : |
||
$time | string | integer | A date/time string. List of available formats is explained here http://www.php.net/manual/en/datetime.formats.php |
$timezone | null | string | Timezone in which you want to set the date. Here is a list of valid timezones: http://php.net/manual/en/timezones.php |
Результат |