Product Site

5.4.6.65. toTimezone

Returns a new DateTime instance representing the time for the timezone indicated by offset.

If specified, offset is the offset from UTC, in minutes. The offset must be a valid whole number between -900 and 900 or an equivalent TimeSpan instance. The default offset is 0, which creates a DateTime object for UTC.