怎么用javascript来实现这种时间格式,而且只能是这种格式Apr 29, 2008, 11:14:00 EST
解决方案 »
- 双显示器,chrome浏览器window.open坐标问题
- MVC模式写的一个简易购物车项目
- 求类似中游或联众或qq游戏的客户端代码(报酬面议)?
- ResultSet类型的对象 能否存入Session中
- 2台服务器文件同步的解决方案
- 我的PLSQL Developer到期了,哪位知道如何注册?
- 这个是字符编码的问题吗?
- 请教关于ant jakarta的东西
- 在tomcat启动后改动了servlet,浏览时servlet怎么没刷新
- jsp比asp,php等好么?(在线等候)
- 发布网站碰到了一些问题,服务器上是weblogic+mysql+apche,在公司是用tomcat5.0做开发,现在开发了一个网站,用到的是ORACLE的数据库,
- servlet提交后总出现异常!求帮助
先获取、转换、然后拼起来。
var months = new Array(12);
months[0] = "Jan";
months[1] = "Feb";
months[2] = "Mar";
months[3] = "Apr";
months[4] = "May";
months[5] = "June";
months[6] = "July";
months[7] = "Aug";
months[8] = "Sept";
months[9] = "Oct";
months[10] = "Nov";
months[11] = "Dec";
var date = new Date();
var dateStr = months[date.getMonth()] + " " + date.getDate() + ", " + date.getYear() + ", " + date.getHours() + ":" + date.getMinutes() + ":" + date.getSeconds() + " EST";
document.write(dateStr);
}
非一定要用JavaScript吗?
http://blog.csdn.net/yzy0612/archive/2007/08/07/1730732.aspxhttp://www.wyxg.com/2007612163213/200822513842.htm