DateTime.ToText

Syntax

DateTime.ToText(dateTime as nullable datetime, optional format as nullable text, optional culture as nullable text) as nullable text

Description

Returns a textual representation of dateTime. An optional format may be provided to customize the formatting of the text. An optional culture may also be provided (for example, “en-US”).

Reference Data

https://docs.microsoft.com/en-us/powerquery-m/power-query-m-function-reference

Power Query M Functions / DateTime Functions / DateTime.ToText