Skip to content

日期集合(今天,昨天,星期一,星期天,本月第一天,本月最后一天)

Notifications You must be signed in to change notification settings

yjh30/dateGather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

dateGather

日期集合(今天,昨天,星期一,星期天,本月第一天,本月最后一天)

Usage

import dateGather from 'date-gather';

/*
	dateGather.fullToday // 今天
    dateGather.fullYesterday // 昨天 
    dateGather.fullMonday // 星期一
    dateGather.fullSunday // 星期天
    dateGather.fullStartOfMonth // 本月第一天
    dateGather.fullEndOfMonth // 本月最后一天

	dateGather.getFullDate(1501314383824); // 得到 2017-07-29
*/

About

日期集合(今天,昨天,星期一,星期天,本月第一天,本月最后一天)

Resources

Stars

Watchers

Forks

Packages

No packages published