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
  • 41,989
  • 11
  • 82
  • 128
Praveen Mandadi
  • 371
  • 3
  • 24

0 Answers0