/* package whatever; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;
import java.text.*;

/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{
		 String completionDate1 = "21/10/2016";
        System.out.println(completionDate1); // O/P --> 21/10/2016 (Correct)
        DateFormat df = new SimpleDateFormat("dd/MM/yyyy");
        Date date = new Date();
        date = df.parse(completionDate1);
	     DateFormat df1 = new SimpleDateFormat("yyyy/MM/dd");
        System.out.println(df1.format(date)); // O/P --> Tue Apr 08 00:00:00 IST 27 (Inorrect)
	}
}