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


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

Power Query M Functions / DateTime Functions / DateTime.From