DateTimeZone.ToUtc

Syntax

DateTimeZone.ToUtc(dateTimeZone as nullable datetimezone) as nullable datetimezone

Description

Changes timezone information of the datetime value dateTimeZone to the UTC or Universal Time timezone information. If dateTimeZone does not have a timezone component, the UTC timezone information is added.

Reference Data

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

Power Query M Functions / DateTimeZone Functions / DateTimeZone.ToUtc