Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- How to parse string date in to timestamp or date
- String fromDate = "12-Oct-2011 14:23:47";
- SimpleDateFormat sdf1 = new SimpleDateFormat("yyyy-mm-dd");
- java.util.Date fdate = sdf1.parse(fromDate);
Add Comment
Please, Sign In to add comment