puc*_*chu 8 javascript format yahoo date
//27 <- today day number
new Date().getDay() = new Date().getUTCDay() //<- 5 (friday)? what?
Run Code Online (Sandbox Code Playgroud)
我是否必须解析结果.toString()或使用类似的东西YUI.Date.format()?
And*_*y E 15
您正在寻找.getDate():
new Date().getDate();
Run Code Online (Sandbox Code Playgroud)
.getDay() 将第0天(星期日)返回到6(星期六).