formatDateLong
Returns a formatted string that represents a date in the long form. Results pattern is based on the culture. In USA it's "Abbreviated Day of week, Month dd, yyyy".
Syntax
context.formatting.formatDateLong(value);
Available for
Model-driven and canvas apps
Parameters
Parameter Name | Type | Required | Description |
---|---|---|---|
value | Date |
Yes | Value Date to format. |
Return Value
Type: string
Related articles
Formatting
Power Apps component framework API reference
Power Apps component framework overview
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for