PHP » GoLang |
login |
register |
about
|
GoLang IntlDateFormatter::setCalendar
request it (335)
GoLang replacement for PHP's IntlDateFormatter::setCalendar
[edit | history]
PHP IntlDateFormatter::setCalendarPHP original manual for IntlDateFormatter::setCalendar [ show | php.net ]IntlDateFormatter::setCalendardatefmt_set_calendar(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) IntlDateFormatter::setCalendar -- datefmt_set_calendar — Sets the calendar type used by the formatter DescriptionObject oriented style Procedural style Sets the calendar or calendar type used by the formatter. Parameters
Return Values
Returns ExamplesExample #1 datefmt_set_calendar() example
<?php Example #2 OO example
<?php The above example will output: calendar of the formatter is : 1 Now calendar of the formatter is : 0 Example #3 Example with IntlCalendar argument
<?php The above example will output: before: Sunday, March 3, 2013 at 1:00:00 AM Central European Standard Time after: Saturday, RabiÊ» II 20, 1434 at 7:00:00 PM Eastern Standard Time See Also
|
more
Recently updated
more
Most requested
more
Last requests
|