Questions tagged [countdown]
This tag refers to the process of counting down. In other words, the act of taking an initial value and then consistently subtracting a smaller value from it until the original value reaches a specified amount (usually 0).
countdown
2,282
questions
0
votes
1
answer
54
views
Implement countdown timer in Glance widget
I need to implement a countdown timer in a Glance widget, that should be updated every second. At the bare minimum, every minute.
What would be the best approach for this using Jetpack Compose Glance ...
0
votes
1
answer
41
views
Python typing game - Countdown timer that exits program after given time
I am trying to build a rough typing game for a school project. I tried using the threading method(which I only know a tiny bit of) to make the timer run simultaneously with input. The idea is to stop ...
0
votes
0
answers
22
views
Hello! I would like to make a quiz for my friends in Powerpoint similar to The Floor
I would like to make a quiz for my friends in Powerpoint similar to The Floor. I would need a VBA code to have 2 45 second countdown timers in the top two corners, and have them count down on separate ...
1
vote
2
answers
98
views
How do i edit the codepen FlipDown.js Countdown?
I found this countdown clock in CodePen, but I need to edit it, I need to set the final date to May 30, 2024. ¿Does anybody know how to set up the final date?
document.addEventListener('...
1
vote
1
answer
45
views
how to update a label in countdown with customtkinter
I was creating a sound recorder and when i wanted to create a countdown i face problems
here's my code
from customtkinter import *
import sounddevice
from scipy.io.wavfile import write
import time
...
0
votes
1
answer
42
views
Countdown to varying payday in Javascript
This is the first time I've written a code in Javascript, and I'm no better in other coding languages, but I managed to get the code to work (kinda).
I think this code could be way shorter but theres ...
0
votes
1
answer
384
views
Angular 17 does not update view using setInterval with NG0500 error in console
I am building a countdown timer component and trying to display updated 'seconds' value within every second, but I do not see any update on UI
When I do not use outside zone attitude, then page is ...
0
votes
0
answers
62
views
setTimeout only called once time in useEffect with Jest unit test
I have countdown function in useEffect and i want to write unit-test for it:
[countDown,setCountDown] = useEffect(60)
useEffect(() => {
if (countDown !== 0) {
countdownTimeout = ...
0
votes
0
answers
29
views
Multiple countdown timer for products
I am working with some products and their discounts. The product creator can set the time and activate it whenever they like.
Example of the products and its fields:
Products =
[
{ name: 'P1', ...
0
votes
1
answer
32
views
I did a cutdown with js, but it has a 3 second delay to start
Within the project there is a startCount() function that starts the countdown, the countdown is done, but it is taking 3 seconds to start.
Here is the function startCount():
function startCount(...
0
votes
1
answer
37
views
Changing the date on a countdown when distance is < 0
I have a timer to countdown to a date and time.
What I'd like it to do is that after it hits 0 with the first date, it would then start counting down to the next date.
I am not at all good at code so ...
-1
votes
1
answer
118
views
How do I make a JavaScript countdown using a Unix timestamp?
I am making a website that needs a countdown until a specific time, but I can't find anything that lets me input a Unix timestamp and gives the same countdown for all users, regardless of timezones.
I ...
1
vote
0
answers
35
views
Different times from php to javascript for countdown between 5 times -from time to time
I want to export 5 different times from a php script for prayertimes calculation,
and import them into Javascript to make a countdown timer between the times.
coutdown -> between fajr and dhur time
...
0
votes
0
answers
31
views
MP3 is playing only one time after countdown ends
I have the following tool written for myself in .net Framework 4.8.
It's a simple countdown and at zero a MP3-file is playing.
This is working, but only one time. If I restart the countdown, without ...
1
vote
1
answer
1k
views
Countdown timer in Angular17
I'm trying to make a countdown timer in my home component. It kind of looks like this.
Here is the place I put countdown in html file:
<div>
{{displayTime}}
</div>
My Home.ts file:
...