playMaker

Author Topic: Countdown Timer in Minutes:Seconds [SOLVED]  (Read 1457 times)

MarkD

  • Full Member
  • ***
  • Posts: 113
Countdown Timer in Minutes:Seconds [SOLVED]
« on: June 04, 2020, 05:50:14 PM »
Hey folks, I need a count down timer in the form of minutes and seconds.  I was hoping to find one on the Ecosystem but unless I'm just failing at my search criteria, there doesn't seem to be one.

I can write an FSM to do it for me, but I was hoping for an action where I could just put in the minutes or seconds and it converts it for me into a string formatted by MM:SS.  Anyone know of anything out there that maybe I'm missing?
« Last Edit: June 05, 2020, 02:46:39 PM by MarkD »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Countdown Timer in Minutes:Seconds
« Reply #1 on: June 05, 2020, 02:49:06 AM »
Hi.
There is a Countdown Timer i made on the Ecosystem.
Store the result.

To display the way you wish to, use 'Convert Seconds To String' and set the correct format.

MarkD

  • Full Member
  • ***
  • Posts: 113
Re: Countdown Timer in Minutes:Seconds
« Reply #2 on: June 05, 2020, 02:46:22 PM »
This is perfect.  Thank you!

Mulbin

  • Junior Playmaker
  • **
  • Posts: 90
Re: Countdown Timer in Minutes:Seconds [SOLVED]
« Reply #3 on: May 11, 2023, 01:34:29 PM »
Sorry to dredge this up but I've tried this, and I'm getting up to 99 seconds if I format the string as 00.00 ... how do I lock the string to work in blocks of 60 instead of decimals? Clocks/timers dont use decimals.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Countdown Timer in Minutes:Seconds [SOLVED]
« Reply #4 on: May 11, 2023, 01:43:01 PM »
Hi.
divide by 60 i guess

Mulbin

  • Junior Playmaker
  • **
  • Posts: 90
Re: Countdown Timer in Minutes:Seconds [SOLVED]
« Reply #5 on: May 13, 2023, 03:41:06 PM »
What use would that be? Dividing 100 seconds by 60, for example, wouldn't correctly turn it into 1m:40s it would give you 1.6666 minutes.. and thats not how clocks work.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Countdown Timer in Minutes:Seconds [SOLVED]
« Reply #6 on: May 13, 2023, 04:12:45 PM »
Hi.
Sorry I misunderstood.
have you tried the action : Convert Seconds To String