Guest User

Untitled

a guest
Aug 20th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. How to parse string date in to timestamp or date
  2. String fromDate = "12-Oct-2011 14:23:47";
  3. SimpleDateFormat sdf1 = new SimpleDateFormat("yyyy-mm-dd");
  4. java.util.Date fdate = sdf1.parse(fromDate);
Add Comment
Please, Sign In to add comment