$d = getdate(); print $d["year"] . "年" . $d["mon"] . "月" . $d["mday"] . "日" . "<br>\n"; foreach ($d as $key => $value) { print "key => $key : value => $value<br>\n"; } 2002年8月11日 key => seconds : value => 26 key => minutes : value => 16 key => hours : value => 12 key => mday : value => 11 key => wday : value => 0 key => mon : value => 8 key => year : value => 2002 key => yday : value