zone

open fun zone(offset: Int): GlobalDateTime

Return a dateTime value with all fields the same as the current dateTime value except for the zone offset.

Return

A dateTime value with all fields the same as the current dateTime value except for the zone offset.

Parameters

offset

Zone offset in minutes (-840 to 840).