date-fns

GPTKB entity

Statements (69)
Predicate Object
gptkbp:instance_of gptkb:Library
gptkbp:community Open source community.
gptkbp:contribution Contributors welcome.
gptkbp:developer David K.
gptkbp:dlc gptkb:date-fns
gptkbp:example import { format } from 'date-fns';
const formatted Date = format(new Date(), 'yyyy-MM-dd');
gptkbp:features Immutable date objects.
Localization support.
Modular functions.
Time zone support.
Type Script support.
gptkbp:function add Days
add Hours
add Months
difference In Days
difference In Hours
difference In Minutes
difference In Seconds
end Of Day
format Distance
format ISO
get Date
get Hours
get Minutes
get Month
get Seconds
get Time
get Year
is After
is Before
is Leap Year
is Same Day
is Same Hour
is Same Minute
is Same Month
is Same Second
is Same Year
is Today
is Weekend
parse ISO
start Of Month
sub Days
sub Months
gptkbp:has_documentation https://date-fns.org/docs/ Getting-Started
https://www.w3.org/2000/01/rdf-schema#label date-fns
gptkbp:installation npm install date-fns
gptkbp:is_described_as Modern Java Script date utility library.
gptkbp:is_maintained_by Active maintainers.
gptkbp:is_tested_for Unit tests available.
gptkbp:language gptkb:Library
gptkbp:latest_version 2.28.0
Semantic versioning.
gptkbp:library gptkb:Day.js
gptkb:Luxon
gptkb:Moment.js
gptkbp:license gptkb:MIT
gptkbp:performance Lightweight and fast.
Tree-shakable.
gptkbp:platform gptkb:server
Browser
gptkbp:release_date 2013-10-01
gptkbp:released Changelog available.
gptkbp:repository https://github.com/date-fns/date-fns
gptkbp:supports Git Hub issues.
Stack Overflow.
gptkbp:uses Date manipulation and formatting.
gptkbp:bfsParent gptkb:Moment.js
gptkbp:bfsLayer 4