formatDateYearMonth

Returns a formatted string that represents a date in the year month format.

Syntax

context.formatting.formatDateYearMonth(value);

Available for

Model-driven and canvas apps

Parameters

Parameter Name Type Required Description
value Date Yes Value Date to format.

Return Value

Type: string

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