I am looking to extract the time from a different time zone without including the seconds.
Here is the code I currently have:
javascript{var d = new Date(); d.setTime(new Date( (d.getTime() + (d.getTimezoneOffset() * 60000) ) + (3600000 * (+10) ) )); d.toLocaleTimeString();}
The output displays as 8:32:51 AM
My desired output format is: 8:32 AM