Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SimpleDateFormat dateFormat = new SimpleDateFormat("DD/MM/YYYY HH24:MI:SS");
- String dateString = dateFormat.format(this.addBadgeDate);
- dateFormat.setTimeZone(TimeZone.getTimeZone("UTC"));
- try {
- this.addBadgeDate = new Date(dateFormat.parse(dateString).getTime());
- } catch (Exception e) {
- log.error(e.getMessage(), e);
- }
- userAddEventManipulation.setDate(5, this.addBadgeDate);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement