I am quite new to Node js. I want to know what timezone the given datetime value, which comes from mysql db, it is .
const conference = await mysqlHelper.query(conferenceSql); // select query const time = conference.created_datetime // I wonder how to get the timezone from this time variable here. console.log(time) // console.log returns '2021-02-23T01:30:00.000Z' to the terminal
mysql value type: datetime I know I could directly look up the db table instead of figuring out in node js. However, this is a required task for validation in my server. Thanks a lot !!