| ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
IntlDateFormatter::getPatterndatefmt_get_pattern(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) IntlDateFormatter::getPattern -- datefmt_get_pattern — IntlDateFormatter が使用するパターンを取得する 説明オブジェクト指向型
public string IntlDateFormatter::getPattern
( void
)
手続き型 Formatter が使用するパターンを取得します。 パラメータ
返り値フォーマット/パース 時に使用するパターン文字列を返します。 例例1 datefmt_get_pattern() の例
<?php 例2 オブジェクト指向の例
<?php 上の例の出力は以下となります。 pattern of the formatter is : MM/dd/yyyy First Formatted output is 12/31/1969 Now pattern of the formatter is : yyyymmdd hh:mm:ss z Second Formatted output is 19690031 04:00:00 PST |
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「IntlDateFormatter::getPattern - IntlDateFormatter が使用するパターンを取得する」をGoogle検索
|