Contido

# NUMSEMANA_EXCEL2003

The result indicates the number of the calendar week for a date.

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.

### Sintaxe

WEEKNUM_EXCEL2003(Date; ReturnType)

Date is the date within the calendar week.

ReturnType is 1 for week beginning on a Sunday, 2 for week beginning on a Monday.

### Exemplos

In which week number does 2001-12-24 fall?

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

Temas relacionados

WEEKNUM_EXCEL2003 wiki page.

Funcións de data e hora

DATA

DATEDIF

DATEVALUE

Día

días

días360

DÍASPORMES

DÍASPORANO

DOMINGOPASCUA

DATAM

FINMES

Hora

ÉANOBISESTO

NUMSEMANAISO

Minuto

Mes

MESES

NETWORKDAYS

NETWORKDAYS.INTL

AGORA

Segunda

Hora

TIMEVALUE

HOXE

WEEKDAY

NUMSEMANA

NUMSEMANA_EXCEL2003

NUMSEMANA_OOO

SEMANAS

SEMANASPORANO

DÍAÚTIL

WORKDAY.INTL

Ano

FRACCIÓNANO

ANOS