formatDateAsFilterStringInUTC
Returns a formatted string that represents a date in YYYY-MM-DD standard UTC format. Results pattern is based on standard UTC format.
Syntax
context.formatting.formatDateAsFilterStringInUTC(value, includeTime)
Available for
Model-driven and canvas apps
Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| value | Date |
yes | The date to be formatted. |
| includeTime | boolean |
yes | If time component should be included in the return value. |
Return Value
Type: string
Related topics
Formatting
Power Apps component framework API reference
Power Apps component framework overview