I want to convert date and time in EST to UTC which i retreive from DB.So,I want to know which i can use java 8 or javascript ,so performance will be good.
There may not be a noticeble difference in terms of performance between the two languages but this is done commonly in JavaScript.