Report
Question
Converts Date in milliseconds (ms) and calculate the differences between two dates, with following rules : 1000 milliseconds = 1 second 60 seconds = 1 minute 60 minutes = 1 hour 24 hours = 1 day String ...

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

Report
Cancel
0
11 months 0 Answers 23 views

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
11 months 0 Answers 21 views