dsuxcxqep31023992
2012-08-25 23:44以Javascript格式输出日期作为字符串
could you please advice how to output 2012-08-11
in JavaScript as a string without it
showing the results as integer i.e. 1993
. I have tried using the .toString()
function but
that doesn't work - it stills output it as 1993
.
I'm parsing the date 2012-08-11
to a JavaScript function via PHP.
- 点赞
- 回答
- 收藏
- 复制链接分享
2条回答
为你推荐
- 以Javascript格式输出日期作为字符串
- string
- tostring
- php
- date
- javascript
- 2个回答
- js方法中参数为字符串时,打印出来为object HTMLInputElement,如何解决?
- javascript
- java
- 4个回答
- 如何将这段字符串的“/“换成其他的?
- var
- html5
- 字符串
- new
- js
- 4个回答