times-range
v1.0.2
Published
> vue environment. ## Install ```shell npm i times-range -S ``` ## Feature get time range. No HH:mm:ss, if you need to add your own! * getToday * getWeek * getLastWeek * getMonth * getLastMonth * getQuarter * getLastQuarter * getYear * getLastYear ## Exa
Downloads
2
Readme
vue environment.
Install
npm i times-range -S
Feature
get time range. No HH:mm:ss, if you need to add your own!
- getToday
- getWeek
- getLastWeek
- getMonth
- getLastMonth
- getQuarter
- getLastQuarter
- getYear
- getLastYear
Example
import getTimeRange from 'times-range';
// Other code...
// Call getToday() in a function
someFunction() {
const rangeTime = getTimeRange.getWeek(); // Array ['2023-09-25,'2023-10-01']
// Process the obtained time range data...
}
Development
- github is not configured.
- This package is a test package