华夏大学生在线

 找回密码
 注册
搜索
查看: 985|回复: 0

2014年江苏省第二届技能状元大赛开幕“倒计时”

[复制链接]
发表于 2014-4-12 14:00:13 | 显示全部楼层 |阅读模式
  1. <Script Language="JavaScript">
  2. <!-- Begin
  3. var timedate= new Date("April 25,2014");
  4. var times="2014年江苏省第二届技能状元大赛开幕";
  5. var now = new Date();
  6. var date = timedate.getTime() - now.getTime();
  7. var time = Math.floor(date / (1000 * 60 * 60 * 24));
  8. if (time >= 0) ;
  9. document.write("现在离"+times+"还有: <font color=red><b>"+time +"</b></font>天");
  10. // End -->
  11. </Script>
复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则

站点统计|小黑屋|手机版|Archiver|南京虚数灵境科技有限责任公司 ( 苏ICP备2023024155号 ) | 公安备案号:32010402000195

GMT+8, 2024-4-27 23:05 , Processed in 1.105622 second(s), 17 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表