WEEKNUM_OOO

Module
Contents
Index 🔎︎

## WEEKNUM_ADD

WEEKNUM は、内部日付番号が、1 年の何週目であるかを返します。

This function exists for interoperability with LibreOffice releases older than 5.1.0 and OpenOffice.org. It calculates week numbers for a week numbering system in that week number 1 is the week that contains the January 4th. This function does not provide interoperability with other spreadsheet applications. For new documents use the WEEKNUM or ISOWEEKNUM function instead.

### 構文

WEEKNUM(数値; モード)

数値 には日付のシリアル値を入力します。

モード で週の始まりや計算方法を指定します。

1 = 日曜日

2 = Monday (ISO 8601)

any other value = Monday (ISO 8601)

### 例

=WEEKNUM_OOO(DATE(1995;1;1);1) returns 1

=WEEKNUM_OOO(DATE(1995;1;1);2) returns 52. Week 1 starts on Monday, 1995-01-02.