formatUTCDateTimeToUserDate
Returns a date that represents the UTC value after being formatted.
Syntax
context.formatting.formatUTCDateTimeToUserDate(utcDateTime, behavior);
Available for
Model-driven and canvas apps
Parameters
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. |
Return Value
Type: Date
Related articles
Formatting
Power Apps component framework API reference
Power Apps component framework overview
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho