I'm getting a value from database which is in 24 hours time string. I'm looking for a way to change this string in to 12 hours clock time using angularJS or jQuery.
I can not do any code changes to the back-end(JAVA) or database at the moment.
var offTime = "17:25:11";
I need it to display as : "5:25:11"
please help !