WEEKNUM_ADD

WEEKNUM는 내부 날짜 값에 대한 해당 연도의 주 번호를 계산합니다.

참고 아이콘

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(숫자; Mode)

숫자는 날짜의 내부 값입니다.

Mode는 주초와 계산 방식을 정의합니다.

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.