| | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
例例 – Date_Holidays の使用例
基本的な例この例は、2004 年の復活祭の日付を計算するものです。
<?php
これは、次のような配列を返します。 Array
(
[internalName] => easter
[title] => Easter Sunday
[date] => date Object
(
[year] => 2004
[month] => 04
[day] => 11
[hour] => 0
[minute] => 0
[second] => 0
[tz] => date_timezone Object
(
[id] => UTC
[longname] => Coordinated Universal Time
[shortname] => UTC
[hasdst] =>
[dstlongname] => Coordinated Universal Time
[dstshortname] => UTC
[offset] => 0
[default] =>
)
)
)
|
|
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「例」をGoogle検索
|