private static String getClientTimeZone ( ) { return ZonedDateTime . now ( SPDateTimeUtil . getTimeZoneId ( SPDateTimeUtil . getBrowserTimeZone ( ) ) ) . getOffset ( ) . getId ( ) . replaceAll ( "Z" , "+00:00" ) ; }
Get time zone of the browser client to be used as default .