Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

dayjs after

dayjs().isAfter(dayjs('2011-01-01')) // default granularity is milliseconds
dayjs().isAfter('2011-01-01', 'year') // to chage the granularity to year
Source by day.js.org #
 
PREVIOUS NEXT
Tagged: #dayjs
ADD COMMENT
Topic
Name
2+5 =