public class DatePgm {
public static void main(String[] args) throws ParseException {
SimpleDateFormat sdf=new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'+'SS:SZ");
Date date1 = sdf.parse("2020-07-26T18:52:24+05:30");
System.out.println("DATE="+sdf.format(date1));
}
}
Can any one help me to print the exact date and time format "2020-07-26T18:52:24+05:30"