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
Post a Comment