| Name | Last modified | Size | Description | |
|---|---|---|---|---|
| Parent Directory | - | |||
| yearsToQuarters/ | 2023-06-09 12:49 | - | ||
| yearsToMonths/ | 2023-06-09 12:49 | - | ||
| weeksToDays/ | 2023-06-09 12:49 | - | ||
| toDate/ | 2023-06-09 12:49 | - | ||
| subYears/ | 2023-06-09 12:49 | - | ||
| subWeeks/ | 2023-06-09 12:49 | - | ||
| subSeconds/ | 2023-06-09 12:49 | - | ||
| subQuarters/ | 2023-06-09 12:49 | - | ||
| subMonths/ | 2023-06-09 12:49 | - | ||
| subMinutes/ | 2023-06-09 12:49 | - | ||
| subMilliseconds/ | 2023-06-09 12:49 | - | ||
| subISOWeekYears/ | 2023-06-09 12:49 | - | ||
| subHours/ | 2023-06-09 12:49 | - | ||
| subDays/ | 2023-06-09 12:49 | - | ||
| subBusinessDays/ | 2023-06-09 12:49 | - | ||
| sub/ | 2023-06-09 12:49 | - | ||
| startOfYesterday/ | 2023-06-09 12:49 | - | ||
| startOfYear/ | 2023-06-09 12:49 | - | ||
| startOfWeekYear/ | 2023-06-09 12:49 | - | ||
| startOfWeek/ | 2023-06-09 12:49 | - | ||
| startOfTomorrow/ | 2023-06-09 12:49 | - | ||
| startOfToday/ | 2023-06-09 12:49 | - | ||
| startOfSecond/ | 2023-06-09 12:49 | - | ||
| startOfQuarter/ | 2023-06-09 12:49 | - | ||
| startOfMonth/ | 2023-06-09 12:49 | - | ||
| startOfMinute/ | 2023-06-09 12:49 | - | ||
| startOfISOWeekYear/ | 2023-06-09 12:49 | - | ||
| startOfISOWeek/ | 2023-06-09 12:49 | - | ||
| startOfHour/ | 2023-06-09 12:49 | - | ||
| startOfDecade/ | 2023-06-09 12:49 | - | ||
| startOfDay/ | 2023-06-09 12:49 | - | ||
| setYear/ | 2023-06-09 12:49 | - | ||
| setWeekYear/ | 2023-06-09 12:49 | - | ||
| setWeek/ | 2023-06-09 12:49 | - | ||
| setSeconds/ | 2023-06-09 12:49 | - | ||
| setQuarter/ | 2023-06-09 12:49 | - | ||
| setMonth/ | 2023-06-09 12:49 | - | ||
| setMinutes/ | 2023-06-09 12:49 | - | ||
| setMilliseconds/ | 2023-06-09 12:49 | - | ||
| setISOWeekYear/ | 2023-06-09 12:49 | - | ||
| setISOWeek/ | 2023-06-09 12:49 | - | ||
| setISODay/ | 2023-06-09 12:49 | - | ||
| setHours/ | 2023-06-09 12:49 | - | ||
| setDayOfYear/ | 2023-06-09 12:49 | - | ||
| setDay/ | 2023-06-09 12:49 | - | ||
| setDate/ | 2023-06-09 12:49 | - | ||
| set/ | 2023-06-09 12:49 | - | ||
| secondsToMinutes/ | 2023-06-09 12:49 | - | ||
| secondsToMilliseconds/ | 2023-06-09 12:49 | - | ||
| secondsToHours/ | 2023-06-09 12:49 | - | ||
| roundToNearestMinutes/ | 2023-06-09 12:49 | - | ||
| quartersToYears/ | 2023-06-09 12:49 | - | ||
| quartersToMonths/ | 2023-06-09 12:49 | - | ||
| parseJSON/ | 2023-06-09 12:49 | - | ||
| parseISO/ | 2023-06-09 12:49 | - | ||
| parse/ | 2023-06-09 12:49 | - | ||
| nextWednesday/ | 2023-06-09 12:49 | - | ||
| nextTuesday/ | 2023-06-09 12:49 | - | ||
| nextThursday/ | 2023-06-09 12:49 | - | ||
| nextSunday/ | 2023-06-09 12:49 | - | ||
| nextSaturday/ | 2023-06-09 12:49 | - | ||
| nextMonday/ | 2023-06-09 12:49 | - | ||
| nextFriday/ | 2023-06-09 12:49 | - | ||
| nextDay/ | 2023-06-09 12:49 | - | ||
| monthsToYears/ | 2023-06-09 12:49 | - | ||
| monthsToQuarters/ | 2023-06-09 12:49 | - | ||
| minutesToSeconds/ | 2023-06-09 12:49 | - | ||
| minutesToMilliseconds/ | 2023-06-09 12:49 | - | ||
| minutesToHours/ | 2023-06-09 12:49 | - | ||
| min/ | 2023-06-09 12:49 | - | ||
| millisecondsToSeconds/ | 2023-06-09 12:49 | - | ||
| millisecondsToMinutes/ | 2023-06-09 12:49 | - | ||
| millisecondsToHours/ | 2023-06-09 12:49 | - | ||
| milliseconds/ | 2023-06-09 12:49 | - | ||
| max/ | 2023-06-09 12:49 | - | ||
| locale/ | 2023-06-09 12:49 | - | ||
| lightFormat/ | 2023-06-09 12:49 | - | ||
| lastDayOfYear/ | 2023-06-09 12:49 | - | ||
| lastDayOfWeek/ | 2023-06-09 12:49 | - | ||
| lastDayOfQuarter/ | 2023-06-09 12:49 | - | ||
| lastDayOfMonth/ | 2023-06-09 12:49 | - | ||
| lastDayOfISOWeekYear/ | 2023-06-09 12:49 | - | ||
| lastDayOfISOWeek/ | 2023-06-09 12:49 | - | ||
| lastDayOfDecade/ | 2023-06-09 12:49 | - | ||
| isYesterday/ | 2023-06-09 12:49 | - | ||
| isWithinInterval/ | 2023-06-09 12:49 | - | ||
| isWeekend/ | 2023-06-09 12:49 | - | ||
| isWednesday/ | 2023-06-09 12:49 | - | ||
| isValid/ | 2023-06-09 12:49 | - | ||
| isTuesday/ | 2023-06-09 12:49 | - | ||
| isTomorrow/ | 2023-06-09 12:49 | - | ||
| isToday/ | 2023-06-09 12:49 | - | ||
| isThursday/ | 2023-06-09 12:49 | - | ||
| isThisYear/ | 2023-06-09 12:49 | - | ||
| isThisWeek/ | 2023-06-09 12:49 | - | ||
| isThisSecond/ | 2023-06-09 12:49 | - | ||
| isThisQuarter/ | 2023-06-09 12:49 | - | ||
| isThisMonth/ | 2023-06-09 12:49 | - | ||
| isThisMinute/ | 2023-06-09 12:49 | - | ||
| isThisISOWeek/ | 2023-06-09 12:49 | - | ||
| isThisHour/ | 2023-06-09 12:49 | - | ||
| isSunday/ | 2023-06-09 12:49 | - | ||
| isSaturday/ | 2023-06-09 12:49 | - | ||
| isSameYear/ | 2023-06-09 12:49 | - | ||
| isSameWeek/ | 2023-06-09 12:49 | - | ||
| isSameSecond/ | 2023-06-09 12:49 | - | ||
| isSameQuarter/ | 2023-06-09 12:49 | - | ||
| isSameMonth/ | 2023-06-09 12:49 | - | ||
| isSameMinute/ | 2023-06-09 12:49 | - | ||
| isSameISOWeekYear/ | 2023-06-09 12:49 | - | ||
| isSameISOWeek/ | 2023-06-09 12:49 | - | ||
| isSameHour/ | 2023-06-09 12:49 | - | ||
| isSameDay/ | 2023-06-09 12:49 | - | ||
| isPast/ | 2023-06-09 12:49 | - | ||
| isMonday/ | 2023-06-09 12:49 | - | ||
| isMatch/ | 2023-06-09 12:49 | - | ||
| isLeapYear/ | 2023-06-09 12:49 | - | ||
| isLastDayOfMonth/ | 2023-06-09 12:49 | - | ||
| isFuture/ | 2023-06-09 12:49 | - | ||
| isFriday/ | 2023-06-09 12:49 | - | ||
| isFirstDayOfMonth/ | 2023-06-09 12:49 | - | ||
| isExists/ | 2023-06-09 12:49 | - | ||
| isEqual/ | 2023-06-09 12:49 | - | ||
| isDate/ | 2023-06-09 12:49 | - | ||
| isBefore/ | 2023-06-09 12:49 | - | ||
| isAfter/ | 2023-06-09 12:49 | - | ||
| intlFormat/ | 2023-06-09 12:49 | - | ||
| intervalToDuration/ | 2023-06-09 12:49 | - | ||
| hoursToSeconds/ | 2023-06-09 12:49 | - | ||
| hoursToMinutes/ | 2023-06-09 12:49 | - | ||
| hoursToMilliseconds/ | 2023-06-09 12:49 | - | ||
| getYear/ | 2023-06-09 12:49 | - | ||
| getWeeksInMonth/ | 2023-06-09 12:49 | - | ||
| getWeekYear/ | 2023-06-09 12:49 | - | ||
| getWeekOfMonth/ | 2023-06-09 12:49 | - | ||
| getWeek/ | 2023-06-09 12:49 | - | ||
| getUnixTime/ | 2023-06-09 12:49 | - | ||
| getTime/ | 2023-06-09 12:49 | - | ||
| getSeconds/ | 2023-06-09 12:49 | - | ||
| getQuarter/ | 2023-06-09 12:49 | - | ||
| getOverlappingDaysInIntervals/ | 2023-06-09 12:49 | - | ||
| getMonth/ | 2023-06-09 12:49 | - | ||
| getMinutes/ | 2023-06-09 12:49 | - | ||
| getMilliseconds/ | 2023-06-09 12:49 | - | ||
| getISOWeeksInYear/ | 2023-06-09 12:49 | - | ||
| getISOWeekYear/ | 2023-06-09 12:49 | - | ||
| getISOWeek/ | 2023-06-09 12:49 | - | ||
| getISODay/ | 2023-06-09 12:49 | - | ||
| getHours/ | 2023-06-09 12:49 | - | ||
| getDecade/ | 2023-06-09 12:49 | - | ||
| getDaysInYear/ | 2023-06-09 12:49 | - | ||
| getDaysInMonth/ | 2023-06-09 12:49 | - | ||
| getDayOfYear/ | 2023-06-09 12:49 | - | ||
| getDay/ | 2023-06-09 12:49 | - | ||
| getDate/ | 2023-06-09 12:49 | - | ||
| fromUnixTime/ | 2023-06-09 12:49 | - | ||
| fp/ | 2023-06-09 12:49 | - | ||
| formatRelative/ | 2023-06-09 12:49 | - | ||
| formatRFC7231/ | 2023-06-09 12:49 | - | ||
| formatRFC3339/ | 2023-06-09 12:49 | - | ||
| formatISODuration/ | 2023-06-09 12:49 | - | ||
| formatISO9075/ | 2023-06-09 12:49 | - | ||
| formatISO/ | 2023-06-09 12:49 | - | ||
| formatDuration/ | 2023-06-09 12:49 | - | ||
| formatDistanceToNowStrict/ | 2023-06-09 12:49 | - | ||
| formatDistanceToNow/ | 2023-06-09 12:49 | - | ||
| formatDistanceStrict/ | 2023-06-09 12:49 | - | ||
| formatDistance/ | 2023-06-09 12:49 | - | ||
| format/ | 2023-06-09 12:49 | - | ||
| esm/ | 2023-06-09 12:49 | - | ||
| endOfYesterday/ | 2023-06-09 12:49 | - | ||
| endOfYear/ | 2023-06-09 12:49 | - | ||
| endOfWeek/ | 2023-06-09 12:49 | - | ||
| endOfTomorrow/ | 2023-06-09 12:49 | - | ||
| endOfToday/ | 2023-06-09 12:49 | - | ||
| endOfSecond/ | 2023-06-09 12:49 | - | ||
| endOfQuarter/ | 2023-06-09 12:49 | - | ||
| endOfMonth/ | 2023-06-09 12:49 | - | ||
| endOfMinute/ | 2023-06-09 12:49 | - | ||
| endOfISOWeekYear/ | 2023-06-09 12:49 | - | ||
| endOfISOWeek/ | 2023-06-09 12:49 | - | ||
| endOfHour/ | 2023-06-09 12:49 | - | ||
| endOfDecade/ | 2023-06-09 12:49 | - | ||
| endOfDay/ | 2023-06-09 12:49 | - | ||
| eachYearOfInterval/ | 2023-06-09 12:49 | - | ||
| eachWeekendOfYear/ | 2023-06-09 12:49 | - | ||
| eachWeekendOfMonth/ | 2023-06-09 12:49 | - | ||
| eachWeekendOfInterval/ | 2023-06-09 12:49 | - | ||
| eachWeekOfInterval/ | 2023-06-09 12:49 | - | ||
| eachQuarterOfInterval/ | 2023-06-09 12:49 | - | ||
| eachMonthOfInterval/ | 2023-06-09 12:49 | - | ||
| eachMinuteOfInterval/ | 2023-06-09 12:49 | - | ||
| eachHourOfInterval/ | 2023-06-09 12:49 | - | ||
| eachDayOfInterval/ | 2023-06-09 12:49 | - | ||
| docs/ | 2023-06-09 12:49 | - | ||
| differenceInYears/ | 2023-06-09 12:49 | - | ||
| differenceInWeeks/ | 2023-06-09 12:49 | - | ||
| differenceInSeconds/ | 2023-06-09 12:49 | - | ||
| differenceInQuarters/ | 2023-06-09 12:49 | - | ||
| differenceInMonths/ | 2023-06-09 12:49 | - | ||
| differenceInMinutes/ | 2023-06-09 12:49 | - | ||
| differenceInMilliseconds/ | 2023-06-09 12:49 | - | ||
| differenceInISOWeekYears/ | 2023-06-09 12:49 | - | ||
| differenceInHours/ | 2023-06-09 12:49 | - | ||
| differenceInDays/ | 2023-06-09 12:49 | - | ||
| differenceInCalendarYears/ | 2023-06-09 12:49 | - | ||
| differenceInCalendarWeeks/ | 2023-06-09 12:49 | - | ||
| differenceInCalendarQuarters/ | 2023-06-09 12:49 | - | ||
| differenceInCalendarMonths/ | 2023-06-09 12:49 | - | ||
| differenceInCalendarISOWeeks/ | 2023-06-09 12:49 | - | ||
| differenceInCalendarISOWeekYears/ | 2023-06-09 12:49 | - | ||
| differenceInCalendarDays/ | 2023-06-09 12:49 | - | ||
| differenceInBusinessDays/ | 2023-06-09 12:49 | - | ||
| daysToWeeks/ | 2023-06-09 12:49 | - | ||
| constants/ | 2023-06-09 12:49 | - | ||
| compareDesc/ | 2023-06-09 12:49 | - | ||
| compareAsc/ | 2023-06-09 12:49 | - | ||
| closestTo/ | 2023-06-09 12:49 | - | ||
| closestIndexTo/ | 2023-06-09 12:49 | - | ||
| clamp/ | 2023-06-09 12:49 | - | ||
| areIntervalsOverlapping/ | 2023-06-09 12:49 | - | ||
| addYears/ | 2023-06-09 12:49 | - | ||
| addWeeks/ | 2023-06-09 12:49 | - | ||
| addSeconds/ | 2023-06-09 12:49 | - | ||
| addQuarters/ | 2023-06-09 12:49 | - | ||
| addMonths/ | 2023-06-09 12:49 | - | ||
| addMinutes/ | 2023-06-09 12:49 | - | ||
| addMilliseconds/ | 2023-06-09 12:49 | - | ||
| addISOWeekYears/ | 2023-06-09 12:49 | - | ||
| addHours/ | 2023-06-09 12:49 | - | ||
| addDays/ | 2023-06-09 12:49 | - | ||
| addBusinessDays/ | 2023-06-09 12:49 | - | ||
| add/ | 2023-06-09 12:49 | - | ||
| _lib/ | 2023-06-09 12:49 | - | ||
| typings.d.ts | 1985-10-26 08:15 | 547K | ||
| types.js | 1985-10-26 08:15 | 13 | ||
| package.json | 2023-06-09 12:49 | 4.7K | 7375cab EXHIBTION: fix overflow ellipsis cutoff [كارل مبارك] | |
| index.js.flow | 1985-10-26 08:15 | 20K | ||
| index.js | 1985-10-26 08:15 | 51K | ||
| README.md | 1985-10-26 08:15 | 1.9K | f12eb36 documentaiton updates [كارل مبارك] | |
| LICENSE.md | 1985-10-26 08:15 | 1.1K | 7375cab EXHIBTION: fix overflow ellipsis cutoff [كارل مبارك] | |
| CHANGELOG.md | 1985-10-26 08:15 | 92K |
<p align="center">
<a href="https://date-fns.org/">
<img alt="date-fns" title="date-fns" src="https://raw.githubusercontent.com/date-fns/date-fns/master/docs/logotype.svg" width="300" />
</a>
</p>
<p align="center">
<b>date-fns</b> provides the most comprehensive, yet simple and consistent toolset
<br>
for manipulating <b>JavaScript dates</b> in <b>a browser</b> & <b>Node.js</b>.</b>
</p>
<div align="center">
[📖 Documentation](https://date-fns.org/docs/Getting-Started/) | [🧑💻 JavaScript Jobs](https://jobs.date-fns.org/)
</div>
<hr>
# It's like [Lodash](https://lodash.com) for dates
- It has [**200+ functions** for all occasions](https://date-fns.org/docs/Getting-Started/).
- **Modular**: Pick what you need. Works with webpack, Browserify, or Rollup and also supports tree-shaking.
- **Native dates**: Uses existing native type. It doesn't extend core objects for safety's sake.
- **Immutable & Pure**: Built using pure functions and always returns a new date instance.
- **TypeScript & Flow**: Supports both Flow and TypeScript
- **I18n**: Dozens of locales. Include only what you need.
- [and many more benefits](https://date-fns.org/)
```js
import { compareAsc, format } from 'date-fns'
format(new Date(2014, 1, 11), 'yyyy-MM-dd')
//=> '2014-02-11'
const dates = [
new Date(1995, 6, 2),
new Date(1987, 1, 11),
new Date(1989, 6, 10),
]
dates.sort(compareAsc)
//=> [
// Wed Feb 11 1987 00:00:00,
// Mon Jul 10 1989 00:00:00,
// Sun Jul 02 1995 00:00:00
// ]
```
The library is available as an [npm package](https://www.npmjs.com/package/date-fns).
To install the package run:
```bash
npm install date-fns --save
# or with yarn
yarn add date-fns
```
## Docs
[See date-fns.org](https://date-fns.org/) for more details, API,
and other docs.
<br />
<!-- END OF README-JOB SECTION -->
## License
[MIT © Sasha Koss](https://kossnocorp.mit-license.org/)