Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 966 Bytes

File metadata and controls

42 lines (29 loc) · 966 Bytes
title description ms.author author ms.date ms.reviewer ms.topic ms.subservice contributors
getWeekOfYear (Power Apps component framework API reference) | Microsoft Docs
Gets the ISO week number of the year for a given date. Range is from 1-53.
hemantg
HemantGaur
05/27/2022
jdaly
reference
pcf
JimDaly

getWeekOfYear

[!INCLUDE getweekofyear-description]

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

Related articles

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

[!INCLUDEfooter-include]