Hàm WEEKNUM_ADD

Kết quả ngụ ý số thứ tự của một tuần lịch cho một ngày tháng nào đó.

Biểu tượng Gợi ý

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.


Cú pháp

WEEKNUM_EXCEL2003(Date; ReturnType)

Ngày là ngày tháng bên trong tuần của lịch.

Kiểu_trả_về là 1 nếu tuần bắt đầu vào hôm Chủ Nhật, hay 2 nếu tuần bắt đầu vào hôm Thứ Hai.

Ví dụ

Ngày 2001-24-12 nằm trong tuần số nào?

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