Javascript – Format Date based on timezone/UTC offeset
It will be very helpful to know if there is a way to format Date based on Timezone. Ex:we give America/Los_Angeles as timezone,the output date should be formatted as MM-DD-YYYY.If we give timezone as Asia/Kolkata, It should be changed to…