I am looking for a javascript function to convert UTC datetime to a passing timezone's datetime format. I have to pass the timezone as per user's location. I am not allowed to use any date library.
my UTC datetime string : "2016-04-10 09:00:00.0"
Passing Timezone :EST
Expected Output1 : "April 10,2016"
Expected Output2 : 04 AM EST
Can you give some insight about the Js function to acheive my requirement?
P.S: I can't use any third party date library for this work.