Im using the following code and my time is off 6 hours from what the system clock is. Im on central time if that matters. My question is, how do I get this to show the exact time it is currently vice 6 hours ahead????
Calendar cal = new GregorianCalendar();
SimpleDateFormat formatter1 = new SimpleDateFormat("yy_MM_dd_HH_mm_ss");
String inputDate2 = formatter1.format(cal.getTime()) + "_000000";