I have a date in "Mar 15, 2017 5:06:16 PM" format and i have to convert it into browser's timezone which i am doing using "Date" in javascript but the final time i am getting is in "3/15/2017, 5:06:16 PM" format i have to change it to "Mar 15, 2017 5:06:16 PM"
How this can be achieved using JavaScript?
I have tried JavaScript inbuilt functions like
(1) toISOString
(2) toLocalString
(3) toUTCString
but no luck, i feel like there is no standard js method. can anyone provide me that piece of code which can change it into the desired format ?