我想知道什么时区云函数代码会像 EST、CST、MST、PST 这样运行。
我部署了函数来获取它,但它返回了2018-12-05T17:54:00.207Z
并且不应用任何美国时区。不是在美国运行吗?
export const dateLog = functions.https.onRequest((_, response) => {
const date = new Date();
console.log(date);
response.send(date);
});
我认为是UTC。我试过print(datetime.now())
并获得 UTC 时间戳。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)