I want to convert UTC time to client browser time zone.
I am using below code
var utcDate = '08-Aug-17 10:12:29 AM' + ' UTC';
var date = new Date(utcDate);
Output: Tue Aug 08 2017 15:42:29 GMT+0530 (India Standard Time)
Expected output: 08-Aug-2017 3:42 PM
How can I format the date in javascript?