About nodejs time format

Xiaobai did not find a very clear answer to ask for advice

moment().startOf("Y").add(8, "h")

the time format generated using the moment.js library is as follows:

"2018-01-01T08:00:00.000"

but use new Date () like this

new Date("2018-01-01 16:00")
The time result of

generation is as follows:

2018-01-01T08:00:00.000Z

want to know what this Z means =

feels like a stupid question, but it"s really confusing and grateful.-

Mar.21,2021

from Baidu encyclopedia time zone

GMT belongs to the "z" area, so the suffix "Z" (colloquial suffix "Zulu") is usually added after the time
Menu