|
|||||||
|
|
localtime説明array localtime ( [int timestamp [, bool is_associative]])localtime()関数は同名のC言語の関数コールにより 返される構造体と同じ内容の配列を返します。 localtime()の最初の引数はtimestampであり、 省略された場合には現在の時間が使用されます。 localtime()の2番目の引数は is_associativeであり、これが0に設定されるか 指定が省略された場合には、配列は通常の数値を添字とした配列として 返されます。その引数が1に設定された場合、 localtime()はC言語の関数localtimeのコール により返される構造体の全ての要素を有する連想配列を返します。 この連想配列の各キーの名前は次のようになります。
| ||||||
|
|
|
Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account Document on this page is part of "PHP マニュアル". See Index Page for more info about Authorship and Copyright. 1999-2009 Linuxinfor.com. No rights reserved. |