Dim offsetMinutes As Double = New DateTimeOffset(DateTime.Now).Offset.TotalMinutesbut from a practical POV a few ticks won't make much difference.....
> ' Offset number of minutes from GMT for the server > oApp.nTimeZoneServerOffsetMinuteFromGMT = Math.Abs(New DateTimeOffset(DateTime.Now).Offset.TotalMinutes) >That won't give you negative values. Using it as I posted should give you the result you are looking for...