I got it in a different method (easier one);
I transformed the date/time value of the customField into a Calendar Object and I used the method getTimeZone from that object like this:
Calendar calendarOfDateTimeCustomField = new GregorianCalendar(Integer.valueOf(year),Integer.valueOf(month)-1,Integer.valueOf(day),Integer.valueOf(hour),Integer.valueOf(minute),Integer.valueOf(second));
log.debug("currentServer TimeZone: " + calendarOfDateTimeCustomField.getTimeZone().getRawOffset());
Thanks Alexey for the feedback, well noted, however, I didn't comment it here because I'm just explaining the method that i used instead of getting the timezone of the server (just to inform you that I didn't have the chance to try the method in the link above and get back to you with the result).
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs