0

I need to convert String time like "00:00:00" to 12:00 am and "13:00:00" to "1:00 pm".

Thanks for any help :}

Dhruvil Patel
  • 232
  • 2
  • 7

1 Answers1

0

Thanks for visiting my question but i found a solution and i drop a solution for developers regarding my problem so it's help other Developers :}

Answer

print(DateFormat.jm().format(DateFormat("hh:mm:ss").parse("00:00:00")));
Dhruvil Patel
  • 232
  • 2
  • 7