LibreOfficeDev 25.8 Help
7iF3F‖WEEKNUM_OOO calculates the week number of the year for the internal date value.
B9He5‖This function exists for interoperability with LibreOfficeDev 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.
rTYE7‖WEEKNUM_OOO(Number; Mode)
AABCv‖Number is the internal date number.
t6K5q‖Mode sets the start of the week and the calculation type.
Fhoer‖1 = Sunday
6VBHS‖2 = Monday (ISO 8601)
Fw3wN‖any other value = Monday (ISO 8601)
9DDAr‖=WEEKNUM_OOO(DATE(1995;1;1);1) returns 1
ZNtES‖=WEEKNUM_OOO(DATE(1995;1;1);2) returns 52. Week 1 starts on Monday, 1995-01-02.
ORG.LIBREOFFICE.WEEKNUM_OOO