예제 #1
0
        private static string CurrentTimeZoneOffsetString()
        {
            ZoneOffset offset = OffsetDateTime.now().Offset;

            return(offset.Equals(UTC) ? "+0000" : offset.ToString().Replace(":", ""));
        }