Convert a string of (for example) Y-m-d from PHP to the equivalent date format in JS

后端 未结 0 920
我在风中等你
我在风中等你 2020-12-05 00:49

I have a PHP variable which is a date format string, it is "Y-m-d" but could be other date format strings, I\'d like to pass this to a script which requires a JS d

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