weeknum
Week of the year.
Syntax
Section titled “Syntax”v = weeknum(serial_number, return_type)Description
Section titled “Description”Returns the week-of-year (1–53) for the date. return_type selects the convention for which day starts a week (default 1 = Sunday).
Example
Section titled “Example”weeknum(date(2026, 4, 28))See also
Section titled “See also”isoweeknum— ISO 8601 week of the year.weekday— Day of the week.