javascript - Custom JS Countdown -


i'm new javascript, , i'm trying countdown saturdays until halloween. right have static html says "16 saturdays left until halloween".

16 saturdays left until halloween!

i want refresh every saturday , change number accordingly. if steer me in right direction appreciative.

thanks.

use javascript date() objects time interval between , halloween. can extrapolate how many saturdays there in time interval based on how many weeks there between , time interval. up-to-date, no need weekly update. you'll need think want happen on saturday - counted in count, or saturday over?

take @ answer mechanics: get time difference between 2 dates in seconds


Comments

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -