CopyPastor

Detecting plagiarism made easy.

Score: 0.9631923617366254; Reported for: String similarity Open both answers

Possible Plagiarism

Plagiarized on 2017-02-17
by amit 1984

Original Post

Original - Posted on 2013-07-23
by Francis



            
Present in both answers; Present only in the new answer; Present only in the old answer;



in fact the format is used yyyy-MM-dd, just use a SimpleDateFormat to format the date value to the desired format when retriving a date value...... SimpleDateFormat dateFormat= new SimpleDateFormat("dd/MM/yyyy"); String strDate = dateFormat.format(rs.getDate("column name"));
in fact the format is used yyyy-MM-dd, just use a SimpleDateFormat to format the date value to the desired format when retriving a date value......
SimpleDateFormat dateFormat= new SimpleDateFormat("dd/MM/yyyy"); String strDate = dateFormat.format(rs.getDate("column name"));

        
Present in both answers; Present only in the new answer; Present only in the old answer;