How to get correcta date (from my timezone)?

后端 未结 0 1931
不知归路
不知归路 2020-11-29 08:18

I\'m trying to build this code that would convert my current date into a URL path:

var d = new Date();
var month = String(d.getMonth() + 1);
var day = String(         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题