parseDateFromInput

Returns parsed string as date.

Syntax

context.formatting.parseDateFromInput(input, controlAttributes);

Available for

Model-driven and canvas apps

Parameters

Parameter Name Type Required Description
input string Yes User input.
behavior ControlAttributes Yes controlAttributes control attributes used by the formatter.

Return Value

Type: Date

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