2016-03-15 31 views

回答

1

在命令行試試這個:

date +%Z 

或者在node.js中你可以得到的時區偏移:

console.log((new Date()).getTimezoneOffset()); 
相關問題