WEEKNUM_OOO

WEEKNUM_OOO vypočte číslo týdne v roce pro hodnotu reprezentující datum.

Ikona poznámky

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.


Syntaxe

WEEKNUM_OOO(Číslo; Režim)

Číslo je vnitřní číselná reprezentace data.

Režim určuje začátek týdne a typ výpočtu.

1 = neděle

2 = pondělí (ISO 8601)

jiná hodnota = pondělí (ISO 8601)

Příklady

=WEEKNUM_OOO(DATE(1995;1;1);1) vrátí 1

=WEEKNUM_OOO(DATE(1995;1;1);2) vrátí 52. Týden 1 začíná v pondělí 2. ledna 1995.