Streaming live at 10am (PST)

"Final Countdown" timer - how to make it days not weeks?


#1

Hey all!

I’ve got the Final Countdown timer using the Legacy Style working, but I’m wondering how I can make it so instead of it saying “Weeks : Days : Hours : Minutes : Seconds” it’s just “Days : Hours : Minutes : Seconds” (without weeks). How can I adjust the jquery to make that happ’n cap’n? Thanks!

Here’s the page:
http://countdownjquery.webflow.io

… and here’s my share link:
https://preview.webflow.com/preview/countdownjquery?preview=893f220407d9a268f9b8280f2fa6caa6


#2

Just delete the entire line underlined in red

Screenshot_2017-07-28_110733


#3

Hey samliew!

Thanks for the suggestion, but that just deletes weeks; it doesn’t recalculate those deleted weeks into the total days left in the countdown (37 weeks = 259 days). For example, with that line in there, it shows
2017-07-28_13-52-22

Then after I delete it, it just deletes the 37 weeks without recalculating the number of days like so:
2017-07-28_13-54-30

How would I delete the weeks and have the days be calculated correctly?


#4

Oh in that case you need to do some calculations like this example

http://hilios.github.io/jQuery.countdown/examples/show-total-hours.html


#5

Oh darn, okay. I guess it’s not that easy to just take off the weeks then. Okay, well thanks for hopping in!