目次

# WEEKNUM_ADD

結果は、ある日付の暦週の番号を示します。

The WEEKNUM_EXCEL2003 function is designed to calculate week numbers exactly as Microsoft Excel 2003 did. Use the WEEKNUM function for ODF OpenFormula and Excel 2010 compatibility, or ISOWEEKNUM function when you just need ISO 8601 week numbers. In releases prior to LibreOffice 5.1 WEEKNUM_EXCEL2003 was named WEEKNUM_ADD.

### 構文

WEEKNUM_EXCEL2003(Date; ReturnType)

日付 は、暦週内の日付です。

戻り値のタイプ は、日曜から始まる週は 1 で、月曜から始まる週は 2 です。

### 例

2001年12月24日がその年の何週目にあたるかを求めます。

=WEEKNUM_EXCEL2003(DATE(2001;12;24);1) returns 52.

関連項目

WEEKNUM_EXCEL2003 wiki page.

Date & Time Functions

DATE

DATEDIF

DATEVALUE

DAY

DAYS

DAYS360

DAYSINMONTH

DAYSINYEAR

EASTERSUNDAY

EDATE

EOMONTH

HOUR

ISLEAPYEAR

[text/scalc/01/func_isoweeknum.xhp#isoweeknum not found].

MINUTE

MONTH

MONTHS

NETWORKDAYS

NETWORKDAYS.INTL

NOW

SECOND

TIME

TIMEVALUE

TODAY

WEEKDAY

WEEKNUM

WEEKNUM_ADD

[text/scalc/01/func_weeknum_ooo.xhp#weeknum_ooo not found].

WEEKS

WEEKSINYEAR

WORKDAY

WORKDAY.INTL

YEAR

YEARFRAC

YEARS