Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get number of days between two dates

nbr_days = 365*year + year/4 - year/100 + year/400 + date + (153*month+8)/5
Source by dev.to #
 
PREVIOUS NEXT
Tagged: #number #days #dates
ADD COMMENT
Topic
Name
5+3 =