PHP » GoLang |
login |
register |
about
|
GoLang IntlCalendar::fromDateTime
request it (337)
GoLang replacement for PHP's IntlCalendar::fromDateTime
[edit | history]
PHP IntlCalendar::fromDateTimePHP original manual for IntlCalendar::fromDateTime [ show | php.net ]IntlCalendar::fromDateTime(PHP 5 >= 5.5.0, PHP 7, PECL >= 3.0.0a2) IntlCalendar::fromDateTime — Create an IntlCalendar from a DateTime object or string DescriptionObject oriented style Procedural style Creates an IntlCalendar object either from a DateTime object or from a string from which a DateTime object can be built. The new calendar will represent not only the same instant as the given DateTime (subject to precision loss for dates very far into the past or future), but also the same timezone (subject to the caveat that different timezone databases will be used, and therefore the results may differ). Parameters
Return Values
The created IntlCalendar object or Examples
Example #1 IntlCalendar::fromDateTime()
<?php The above example will output: 2013 Februar 28 00:01:02 Deutschland Zeit |
more
Recently updated
more
Most requested
more
Last requests
|