1

date= "04-03-2019 15:30:00" PM and the UTC should be "04-03-2019 10:01:00" AM but I am getting wrong time.

date= "04-03-2019 15:30:00"
Date startDate = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss z").parse(date);
Michael
  • 37,794
  • 9
  • 70
  • 113
Praveen Mandadi
  • 361
  • 2
  • 23

0 Answers0