Algosim documentation: WeekOfTheYear

WeekOfTheYear

Returns the week of the year at a given point in time.

Syntax

Description

WeekOfTheYear(t) returns the week of the year (1–52) at t.

Examples

WeekOfTheYear(datetime(1985, 06, 07, 18, 20, 52, 137))
23
WeekOfTheYear(now())
37