DateTime.AddZone

Syntax

DateTime.AddZone(dateTime as nullable datetime, timezoneHours as number, optional timezoneMinutes as nullable number) as nullable datetimezone

Description

Sets timezone information to on the datetime value dateTime. The timezone information will include timezoneHours and optionally timezoneMinutes.

Reference Data

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

Power Query M Functions / DateTime Functions / DateTime.AddZone