Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <%
- String date="2009-06-15 13:45:30";
- SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss",Locale.ENGLISH);
- Date parsedDate = sdf.parse(date);
- SimpleDateFormat print = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss");
- %>
- <%= print.format(parsedDate) %>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement