| パラメータ | 意味 |
|---|---|
| second | 現在の秒を定義する |
| mimutes | 現在の分定義する |
| hours | 現在の時定義する |
| mday | 現在の月次の日付を定義する |
| wday | 現在の曜日番号を定義する |
| mon | 現在の月を定義する |
| year | 現在の年を定義する |
| yday | その年の通算日を定義する |
| weekday | 現在の曜日の文字列を定義する |
| month | 現在の月の文字列を定義する |
getdate (日時);
$today = getdate();
print("$today[yera]年$today[mon]月$today[mday]日<br>\n");