Nóta
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as shíniú isteach nó eolairí a athrú.
Teastaíonn údarú chun rochtain a fháil ar an leathanach seo. Is féidir leat triail a bhaint as eolairí a athrú.
Returns a formatted string that represents the datetime value after being formatted.
Syntax
context.formatting.formatTime(value, behavior);
Available for
Model-driven and canvas apps
Parameters
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| value | Date |
Yes | The date to be formatted. |
| behavior | DateTimeFieldBehavior |
Yes | The behavior of the datetime object to be formatted. |
Return Value
Type: string
Related articles
Formatting
Power Apps component framework API reference
Power Apps component framework overview