title | description | ms.author | author | ms.date | ms.reviewer | ms.topic | ms.subservice | contributors | |
---|---|---|---|---|---|---|---|---|---|
formatUTCDateTimeToUserDate (Power Apps component framework API reference) | Microsoft Docs |
Returns a date that represents the UTC value after being formatted. |
hemantg |
HemantGaur |
05/27/2022 |
jdaly |
reference |
pcf |
|
[!INCLUDE formatUTCDateTimeToUserDate-description]
context.formatting.formatUTCDateTimeToUserDate(utcDateTime, behavior);
Model-driven and canvas apps
Parameter Name | Type | Required | Description |
---|---|---|---|
utcDateTime | Date |
Yes | The date to be formatted. |
behavior | DateTimeFieldBehavior |
No | The behavior of the datetime object to be formatted. |
Type: Date
Formatting
Power Apps component framework API reference
Power Apps component framework overview
[!INCLUDEfooter-include]