我正在使用heroku服务器。我想知道 heroku 服务器时区。我在 Ubuntu 中有任何可用的命令吗?
在命令行中试试这个:
date +%Z
或者在节点中.js您可以获取时区偏移量:
console.log((new Date()).getTimezoneOffset());
我正在使用heroku服务器。我想知道 heroku 服务器时区。我在 Ubuntu 中有任何可用的命令吗?
在命令行中试试这个:
date +%Z
或者在节点中.js您可以获取时区偏移量:
console.log((new Date()).getTimezoneOffset());
javascript python java c# php android html jquery c++ css ios sql mysql arrays asp.net json python-3.x ruby-on-rails .net sql-server django objective-c excel regex ruby linux ajax iphone xml vba spring asp.net-mvc database wordpress string postgresql wpf windows xcode bash git oracle list vb.net multithreading eclipse algorithm macos powershell visual-studio image forms numpy scala function api selenium