摘要:
package com.funo.timer;import java.util.Timer;public class MyTimer { public static void main(String[] args) { Timer timer =new Timer(); timer.schedule 阅读全文
posted @ 2016-11-25 21:41
guols
阅读(80)
评论(0)
推荐(0)
摘要:
//本月1号0分0秒 Calendar cal = Calendar.getInstance(); //获取当前日期 cal.set(Calendar.HOUR_OF_DAY, 1);//设置当前时间的日期为1号 cal.set(Calendar.HOUR_OF_DAY, 0);//设置当前日期为0 阅读全文
posted @ 2016-11-25 21:39
guols
阅读(202)
评论(0)
推荐(0)
摘要:
<div id="time" style="color: #96C2DD;</div> <script type="text/javascript"> setInterval(function(){ var time=new Date(); var year=time.getFullYear(); 阅读全文
posted @ 2016-11-25 10:54
guols
阅读(694)
评论(0)
推荐(0)
浙公网安备 33010602011771号