Contents
Index 🔎︎

## WEEKNUM_ADD

Výsledok určuje číslo kalendárneho týždňa pre dátum.

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.

#### Syntax

WEEKNUM_EXCEL2003(Date; ReturnType)

Dátum je dátum v kalendárnom týždni.

Návratový typ je 1 pre týždeň začínajúci nedeľou, 2 pre týždeň začínajúci pondelkom.

#### Example

Do ktorého kalendárneho týždňa patrí dátum 24. 12. 2001?

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

Related Topics

Date & Time Functions

DATE

[text/scalc/01/func_datedif.xhp#datedif not found].

DATEVALUE

DAY

DAYS

DAYS360

EASTERSUNDAY

EDATE

EOMONTH

HOUR

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

MINUTE

MONTH

NETWORKDAYS

NETWORKDAYS.INTL

NOW

SECOND

TIME

TIMEVALUE

TODAY

WEEKDAY

WEEKNUM

WEEKNUM_ADD

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

WORKDAY

WORKDAY.INTL

YEAR

YEARFRAC