| ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
IntlDateFormatter::getDateTypedatefmt_get_datetype(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) IntlDateFormatter::getDateType -- datefmt_get_datetype — IntlDateFormatter が使用する日付形式を取得する 説明オブジェクト指向型
public int IntlDateFormatter::getDateType
( void
)
手続き型 Formatter が使用する日付形式を返します。 パラメータ
返り値Formatter の現在の 日付形式 の値を返します。 例例1 datefmt_get_datetype() の例
<?php 例2 オブジェクト指向の例
<?php 上の例の出力は以下となります。 datetype of the formatter is : 0 First Formatted output is Wednesday, December 31, 1969 4:00:00 PM PT Now datetype of the formatter is : 2 Second Formatted output is 12/31/69 4:00:00 PM PT 参考
|
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「IntlDateFormatter::getDateType - IntlDateFormatter が使用する日付形式を取得する」をGoogle検索
|