WEEK
タイムスタンプから年の ISO 週を返します。
値の範囲は 1 から 53 です。
構文
WEEK(timestamp)
引数
| 名前 | 型 | 説明 | 既定値 |
|---|---|---|---|
| timestamp | timestamp |
戻り値
bigint
例
| timestamp | 出力 |
|---|---|
| timestamp "2018-03-10 08:55:12.456" | 10 |
タイムスタンプから年の ISO 週を返します。
値の範囲は 1 から 53 です。
WEEK(timestamp)
| 名前 | 型 | 説明 | 既定値 |
|---|---|---|---|
| timestamp | timestamp |
bigint
| timestamp | 出力 |
|---|---|
| timestamp "2018-03-10 08:55:12.456" | 10 |