I have my string which contains time like var time = '11:50 AM'
I try to add 10 minutes to my string, so it should be like 12:00 PM, the both minutes and (AM/PM) has to be changed.
How to perform this kind of operations? In JavaScript.
as I'm new to the technology, please help me out.