JavaScript Date對象

Date對象用於處理日期和時間   Date對象的語法 var myDate=new Date() Function getTime(){ var myDate=new Date();    代表當前時間 var year=myDate.getFullYear();   代表年 var month=myDate.getMonth(); 代表月 var day=myDate.getDate(); 代
相關文章
相關標籤/搜索