Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- unexpected results with GMT parsing in java
- SimpleDateFormat dformat = new SimpleDateFormat("yyyyMMdd-hh:mm:ss");
- TimeZone gmt = TimeZone.getTimeZone("GMT");
- dformat.setTimeZone(gmt);
- Date d = dformat.parse(time);
Add Comment
Please, Sign In to add comment