# Understanding the stopwatch i found

**URL:** <https://discourse.nodered.org/t/understanding-the-stopwatch-i-found/71465>\
**Category:** Dashboard\
**Tags:** node-red-dashboard, function-node\
**Created:** [29 November 2022 16:00 UTC](https://discourse.nodered.org/t/understanding-the-stopwatch-i-found/71465 "2022-11-29T16:00:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![CHHE-ledtec](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/chhe-ledtec/32/71605_2.png) [@CHHE-ledtec](https://discourse.nodered.org/u/CHHE-ledtec)\
**Post date:** [29 November 2022 16:00 UTC](https://discourse.nodered.org/t/understanding-the-stopwatch-i-found/71465/1 "2022-11-29T16:00:14Z")

</div>

hi iam using the template from this to use in my system

> [@Countdown timer](https://discourse.nodered.org/t/countdown-timer/47434):
>
> Hi. This is my first post and don't know mouth about java scrips and need some( a lot) of help. Im urgently looking for a count down timer as the one we been using stopped working its about 10 yours old, so looking to upgrade it to something better and node red ui is perfect for what i want to do. (every one on the network can see it) Is there anyone that can help me under stand this concept to make it work. [Countdown clock.json](https://discourse.nodered.org/uploads/short-url/3BCrkUfBaEBGnTydHKT3Vwn9Wny.json) (5.4 KB)

i am trying to figure out to count up instead of down ..

but what i really want is be able to use a slider to switch between count up or count down.

anyone who can point me in the right direction.

i am not that good in javascript i dont really follow how it is counting down right now.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [29 December 2022 16:00 UTC](https://discourse.nodered.org/t/understanding-the-stopwatch-i-found/71465/2 "2022-12-29T16:00:19Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
