getWeekOfYear

Gets the ISO week number of the year for a given date. Range is from 1-53.

Syntax

context.formatting.getWeekOfYear(value);

Available for

Model-driven and canvas apps

Parameters

Parameter Name Type Required Description
value Date Yes The DateTime to convert.

Return Value

Type: Number

Formatting
Power Apps component framework API reference
Power Apps component framework overview