How do I convert UTC/ GMT datetime to CST in Javascript? (not local, CST always)
问题 I have a challenge where backend data is always stored in UTC time. Our front-end data is always presented in CST. I don't have access to this 'black box.' I would like to mirror this in our data warehouse. Which is based in Europe (CET). So "local" conversion will not work. I'm wondering the simplest, most straightforward way to accurately convert UTC time (I can have it in epoch milliseconds or a date format '2015-01-01 00:00:00') to Central Standard Time. (which is 5 or 6 hours behind