I have a Java app that needs to be cognizant of the time zone. When I take a Unix epoch time and try to convert it into a timestamp to use for an Oracle SQL call, it is get
I have found a way to ensure the daylight saving is ignored
TimeZone tz = TimeZone.getTimeZone("GMT"); TimeZone.setDefault(tz); GregorianCalendar calendar; calendar = new GregorianCalendar();
Set the timezone before you create your GregorianCalendar object