PHP » GoLang |
login |
register |
about
|
GoLang DateTime::getTimezone
request it (374)
GoLang replacement for PHP's DateTime::getTimezone
[edit | history]
DateTime::getTimezoneDateTimeImmutable::getTimezoneDateTimeInterface::getTimezonedate_timezone_get(PHP 5 >= 5.2.1 < 5.5.0) DateTime::getTimezone -- DateTimeImmutable::getTimezone -- DateTimeInterface::getTimezone -- date_timezone_get — Return time zone relative to given DateTime DescriptionObject oriented style Procedural style Return time zone relative to given DateTime. Parameters
Return Values
Returns a DateTimeZone object on success
or ExamplesExample #1 DateTime::getTimezone() example Object oriented style
<?php Procedural style
<?php The above examples will output: Europe/London See Also
|
more
Recently updated
more
Most requested
more
Last requests
|