格式如:October 2009 很簡單的隻要得到年月就行了,其它的不要,謝謝
解决方案 »
- Java服务器与客户端
- ssh一次插入多条记录
- 关于首页加载问题.超简单.
- 使用从Servlet传递到JSP页面的Javascript代码中 中文编程乱码了
- 点击一个页面调转后tomcat就停止了,为什么啊?
- JAVAMAIL 接收邮件 javax.mail.FolderClosedException: java.io.EOFException: EOF on
- 子页面关闭时如何触发父页面的某一事件?
- request.getHeaders("Referer") 如何设置 取值不为空
- 求一个 可以从别的网页上抓取表格中的数据,然后放到我自己网页中。分不够可以再加!!
- 在Jsp中如何实现分页显示
- 定时执行
- java socket空异常!
var enabled = 0;
today = new Date();
var date;
var month;
if(today.getMonth()==0) month = "January"
if(today.getMonth()==1) month = "February"
if(today.getMonth()==2) month = "March"
if(today.getMonth()==3) month = "April"
if(today.getMonth()==4) month = "May"
if(today.getMonth()==5) month = "June"
if(today.getMonth()==6) month = "July"
if(today.getMonth()==7) month = "August"
if(today.getMonth()==8) month = "September"
if(today.getMonth()==9) month = "October"
if(today.getMonth()==10) month = "November"
if(today.getMonth()==11) month = "December"date = month + ". " +(today.getYear())+"";
document.write(date);
</script>