Discuss Scratch

HyperscratchWill
Scratcher
27 posts

How to make a countdown timer in game?

How do you make a countdown timer in scratch basically let’s say I’m in France and it is 10 pm in my time is 9 pm how do I make a countdown timer so that means it all goes live at the minute basically I’m looking for a time zone converter so that means I can have a countdown for the launch of my game and then I’ll make a live event please. Thank you!
scratcherboiz101
Scratcher
97 posts

How to make a countdown timer in game?

HyperscratchWill wrote:

How do you make a countdown timer in scratch basically let’s say I’m in France and it is 10 pm in my time is 9 pm how do I make a countdown timer so that means it all goes live at the minute basically I’m looking for a time zone converter so that means I can have a countdown for the launch of my game and then I’ll make a live event please. Thank you!
Let me try to understand this better…

You want a live countdown equal to all time zones?
medians
Scratcher
1000+ posts

How to make a countdown timer in game?

https://scratch.mit.edu/discuss/topic/659765/?page=1#post-6944850
The days since 2000 block is always in UTC, meaning you can detect the time zone.
HyperscratchWill
Scratcher
27 posts

How to make a countdown timer in game?

scratcherboiz101 wrote:

HyperscratchWill wrote:

How do you make a countdown timer in scratch basically let’s say I’m in France and it is 10 pm in my time is 9 pm how do I make a countdown timer so that means it all goes live at the minute basically I’m looking for a time zone converter so that means I can have a countdown for the launch of my game and then I’ll make a live event please. Thank you!
Let me try to understand this better…

You want a live countdown equal to all time zones?

Yes.
deck26
Scratcher
1000+ posts

How to make a countdown timer in game?

Do you mean a user in the US (say) sees the same countdown values as a user in Paris as opposed to being 5 hours or so behind?

If so the days since 2000 block is the one you want since it is based on a single time reference (UTC) for all users. Trying to do anything with local time is much harder since as well as timezones you have varying application of daylight savings time.

Powered by DjangoBB