📜  可更新时间 js - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:54.602000             🧑  作者: Mango

代码示例1
function timeClock()
{
    setTimeout("timeClock()", 1000);        
    now = new Date();
    alert(now);
    f_date = now.getDate()+" "+strMonth(now.getMonth())+" "+now.getFullYear()+" / "+timeFormat(now.getHours(), now.getMinutes());
    return f_date;
}