package sample;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
public class NewClass {
Type: Posts; User: anamika s
package sample;
import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
public class NewClass {
Hi,
I want to convert a date which can be of any date formats into yyyy-mm-dd format...My code is below.Could anyone please tell what is wrong in it.
String[] date_formats = {
...