日期比时钟简单很多,
用flash自带函数
hours = time.getHours();
minutes = time.getMinutes();
seconds = time.getSeconds();
dates = time.getDate();
years = time.getFullYear();
day = time.getDay();
month = time.getMonth();
加上格式就可以了;
但时钟会麻烦一些,因为要让时钟时时走动,不过有了具体时间想实现出来也很简单啦