psi_mmobile

Untitled

Oct 18th, 2021
610
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.             Calendar cal = Calendar.getInstance();
  2.             cal.setTime(new Date(System.currentTimeMillis()));
  3.             TimeZone tz = TimeZone.getDefault();
  4.             Timestamp tstmp = new Timestamp(cal.getTimeInMillis() - tz.getRawOffset() - tz.getDSTSavings());
  5.             this.setAttribute("LmDate", tstmp);
RAW Paste Data