Report
Question
Example – 1 java.util.Date date= new java.util.Date(); Timestamp ts_now = new Timestamp(date.getTime()); Example – 2 SimpleDateFormat sdf = new SimpleDateFormat(“EEE MMM dd kk:mm:ss z yyyy”); Date d = sdf.parse(“Mon May 27 11:46:15 IST 2013″); Calendar c = Calendar.getInstance(); c.setTime(d); long time ...

Please briefly explain why you feel this question should be reported .

Report
Cancel
0
1 year 0 Answers 29 views