首先我们需要new一个date对象: var d = new Date();. 随后,取得当前时间小时: d.getHours(). 取得当前分钟: d.getMinutes()). 取得当前秒:
確定! 回上一頁