暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

JavaScript Date.getDay() 与Date.getDate()方法

DwellingLife 2019-09-16
891

2019-09-16,自己挖的坑自己填。

/** 

*Gets the day-of-the-month, using local time. 

*/ 

getDate(): number;

/** 

*Gets the day of the week, using local time. 

*/ 

getDay(): number;


Date 对象方法

方法描述
getDate()从 Date 对象返回一个月中的某一天 (1 ~ 31)。
getDay()从 Date 对象返回一周中的某一天 (0 ~ 6)。


文章转载自DwellingLife,如果涉嫌侵权,请发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论