IntlDateFormatter::createdatefmt_createIntlDateFormatter::__construct(PHP 5 >= 5.3.0, PECL intl >= 1.0.0) IntlDateFormatter::create -- datefmt_create -- IntlDateFormatter::__construct — Create a date formatter ОписаниеОбъектно-ориентированный стиль 
   static
   IntlDateFormatter IntlDateFormatter::create
    ( string $locale
   , int $datetype
   , int $timetype
   [, string $timezone
   [, int $calendar
   [, string $pattern
  ]]] ) 
  Объектно-ориентированный стиль (constructor) 
    IntlDateFormatter::__construct()
    ( string $locale
   , int $datetype
   , int $timetype
   [, string $timezone
   [, int $calendar
   [, string $pattern
  ]]] ) 
  Процедурный стиль 
   IntlDateFormatter datefmt_create
    ( string $locale
   , int $datetype
   , int $timetype
   [, string $timezone
   [, int $calendar
   [, string $pattern
  ]]] ) 
  Create a date formatter Список параметров
 
 Возвращаемые значения
 ПримерыПример #1 datefmt_create() example 
<?phpПример #2 OO example 
<?phpРезультат выполнения данного примера: 
First Formatted output is Wednesday, December 31, 1969 4:00:00 PM PT
Second Formatted output is Mittwoch, 31. Dezember 1969 16:00 Uhr GMT-08:00
First Formatted output with pattern is 12/31/1969
Second Formatted output with pattern is 12/31/1969
         Смотрите также
 
  | 
||