DateTime.From

Syntax

DateTime.From(value as any, optional culture as nullable text) as nullable datetime

Description

Returns a datetime value from the given value. An optional culture may also be provided (for example, “en-US”). If the given value is null, DateTime.From returns null. If the given value is datetime, value is returned. Values of the following types can be converted to a datetime value:

Reference Data

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

Power Query M Functions / DateTime Functions / DateTime.From