DateTimeZone.ToUtc
The function modifies the timezone information of the datetime value `dateTimeZone` to the UTC (Universal Time Coordinated) timezone. If `dateTimeZone` does not already have a timezone component, the ...
The function modifies the timezone information of the datetime value `dateTimeZone` to the UTC (Universal Time Coordinated) timezone. If `dateTimeZone` does not already have a timezone component, the UTC timezone information will be applied.
Modify the timezone data for the date and time of December 31, 2010, at 11:56:02 and 7 milliseconds in timezone with a 30-minute offset, to Coordinated Universal Time (UTC).
To implement this change using Power Query, use the function MDateTimeZone.ToUtc() with the specified datetime information.
The resulting output after converting to UTC timezone will be December 31, 2010, at 04:26:02 and 0 milliseconds.