• Resolved iworldc

    (@iworldc)


    Hi,

    I want a countdown till 9PM every day.

    BUT BEFORE noon it must countdown to 9PM the same day and after noon, it must countdown to the next day’s 9PM.

    Can I do this?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor twinpictures

    (@twinpictures)

    Recurring, scheduled countdowns is exactly what our pro version: T(-) Countdown Control was built to do.

    Thread Starter iworldc

    (@iworldc)

    Yes, I see, but I don’t know if it can do exactly what I want…

    Before noon, use the current day 9PM to countdown to.
    After noon, use the the next day 9PM to countdown to.

    So it’s not only recurring. It’s a bit more.

    Plugin Contributor twinpictures

    (@twinpictures)

    A couple of few questions:

    Before noon, use the current day 9PM to countdown to.
    After noon, use the the next day 9PM to countdown to.

    1. who’s noon? The server that the site is hosted on, or the time of the visitor?
    2. how should the countdown deal with a visitor that first shows up at 11:50 and then refreshes the page or revisits the site at 12:05 (server time)?
    3. is page caching being used on the site?

    • This reply was modified 5 years, 11 months ago by twinpictures.
    Thread Starter iworldc

    (@iworldc)

    1. The server is located in the CEST timezone, and so are all the customers we target. So server time and visitor time are the same. And if by accident someone else form another timezone visits, the CEST timezone is always leading. To clarify, I want to use this as a countdown to a webinar that we present daily at 21:00 CEST. So server noon, should be good enough.

    2. The countdown should not be dependent on re-visits. It should just calculate the difference between the current time (i.e. server time) and the target time of the event (21:00 H)

    3. Yes, we use page caching, but we can disable this on pages where the counter is displayed.

    • This reply was modified 5 years, 11 months ago by iworldc.
    • This reply was modified 5 years, 11 months ago by iworldc.
    • This reply was modified 5 years, 11 months ago by iworldc.
    Plugin Contributor twinpictures

    (@twinpictures)

    We’ll set up a test to verify T(-) Countdown Control can handle this…. and if not, modify it so it will do so.
    Stay tuned.

    • This reply was modified 5 years, 11 months ago by twinpictures.
    Plugin Contributor twinpictures

    (@twinpictures)

    If a user is viewing the countdown at 11:59:59, the countdown is counting down to today at 21:00, so it would display:
    09 hours 00 minutes 01 seconds and counting

    What happens in the next second as the user is watching the countdown?

    Now if the user refreshes the page after a few seconds, or a new user views the page, the countdown would now countdown to tomorrow at 21:00, so it would display:
    32 Hours 59 Minutes 58 Seconds and counting

    But, since the countdown would never reach 00:00:00, what should happen when the countdown reaches the roll-over time?
    1. keep on counting down to today at 21:00?
    2. suddenly reset (for no apparent reason) to and start counting down to 21:00 + 24 hours?

    Plugin Contributor twinpictures

    (@twinpictures)

    Hm. We do have a working demo… but there is still an open question of how you imagined a running countdown would react once it crossed over the roll-over time.

    Issue marked as resolved.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Can i do this?’ is closed to new replies.