Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How do you use the days since 2000 block in a good way?
- E-boogies
-
Scratcher
100+ posts
How do you use the days since 2000 block in a good way?
People say it’s the worst block, but I know it could be used for something better. Is there a way to use it in a smart way?
- legendary34678
-
Scratcher
1000+ posts
How do you use the days since 2000 block in a good way?
You can use the days since 2000 block to calculate the exact year, month, day, and time with hours and minutes for example. You can also calculate the day of the week with that block.
- E-boogies
-
Scratcher
100+ posts
How do you use the days since 2000 block in a good way?
You can use the days since 2000 block to calculate the exact year, month, day, and time with hours and minutes for example. You can also calculate the day of the week with that block.But that’s to hard, and I think nobody would use specifically that
- legendary34678
-
Scratcher
1000+ posts
How do you use the days since 2000 block in a good way?
Oh, I just realized there is already a current year/month/day/hour/minute/second block. Hmm, then I'm not really sure.
- kahoot_player21
-
Scratcher
500+ posts
How do you use the days since 2000 block in a good way?
you can use it to make a counter of the days since 2000, every day marking another dreadful day full of depression as people realize that the 2000s are never coming back in its best form/joke
but seriously i made a cool auto-slideshow project that is (maybe) complicated to a new scratcher. it is called ‘catfax’ and should be on my profile (i think i marked it as offline/down for maintenance)
but seriously i made a cool auto-slideshow project that is (maybe) complicated to a new scratcher. it is called ‘catfax’ and should be on my profile (i think i marked it as offline/down for maintenance)
Last edited by kahoot_player21 (Feb. 25, 2025 02:24:11)
- CoolCoder1005
-
Scratcher
9 posts
How do you use the days since 2000 block in a good way?
You can use it to make a more accurate FPS counter for your projects! (since the built-in timer block actually delays with the project itself, while the “days since 2000” block doesn't) You can also use it to calculate delta-time, which can be very useful for game movements and such.
- deck26
-
Scratcher
1000+ posts
How do you use the days since 2000 block in a good way?
It's also the ONLY block that gives the same time for all users around the world. The ‘current hour’ etc relate to the time from your computer which is likely to be set to your time zone.
So for a countdown where the event happens at the same time for everyone you need this block. By the same time I mean something like 12:00 GMT which may be something like 07:00 in New York and 23:00 in Beijing.
You can also use this in comparison with the local values to try to get some idea of the person's timezone.
So for a countdown where the event happens at the same time for everyone you need this block. By the same time I mean something like 12:00 GMT which may be something like 07:00 in New York and 23:00 in Beijing.
You can also use this in comparison with the local values to try to get some idea of the person's timezone.
- E-boogies
-
Scratcher
100+ posts
How do you use the days since 2000 block in a good way?
you can use it to make a counter of the days since 2000, every day marking another dreadful day full of depression as people realize that the 2000s are never coming back in its best form/jokeCan you show me?
but seriously i made a cool auto-slideshow project that is (maybe) complicated to a new scratcher. it is called ‘catfax’ and should be on my profile (i think i marked it as offline/down for maintenance)
- kahoot_player21
-
Scratcher
500+ posts
How do you use the days since 2000 block in a good way?
The maintenance is just a variable, set to f, or t. Just set it to f and then you can see the code working.you can use it to make a counter of the days since 2000, every day marking another dreadful day full of depression as people realize that the 2000s are never coming back in its best form/jokeCan you show me?
but seriously i made a cool auto-slideshow project that is (maybe) complicated to a new scratcher. it is called ‘catfax’ and should be on my profile (i think i marked it as offline/down for maintenance)
https://scratch.mit.edu/projects/1098819353/
F meaning False, and T meaning True.
Last edited by kahoot_player21 (Feb. 25, 2025 14:25:47)
- No_Normal
-
Scratcher
100+ posts
How do you use the days since 2000 block in a good way?
the days since 2000 is calibrated to utc (at least the last time I used it), so you can use it for figuring out time zones
- BigNate469
-
Scratcher
1000+ posts
How do you use the days since 2000 block in a good way?
1. It's one of two blocks that have millisecond precision (the other being the timer, but that can lag with the project making it unreliable for laggy projects).
2. As others have mentioned, it is the same regardless of timezone (if your system clock is correct).
2. As others have mentioned, it is the same regardless of timezone (if your system clock is correct).
- Floridian_Banana
-
Scratcher
3 posts
How do you use the days since 2000 block in a good way?
I am curious… what would the code look like to calculate the exact hour (GMT) with the Days since 2000 block? I'm looking for my game to automatically calculate the player's timezone.
- N8_D_GR8_1
-
Scratcher
1000+ posts
How do you use the days since 2000 block in a good way?
I am curious… what would the code look like to calculate the exact hour (GMT) with the Days since 2000 block? I'm looking for my game to automatically calculate the player's timezone.In the future, please create a new topic for any scripting questions. Thanks!
In answer to your question, take a look at this forum thread: https://scratch.mit.edu/discuss/post/8524631/
- Floridian_Banana
-
Scratcher
3 posts
How do you use the days since 2000 block in a good way?
Oh I'm sorry, I couldn't find that thread when I looked it up. Thanks for the help.
- Ssecret321098
-
Scratcher
19 posts
How do you use the days since 2000 block in a good way?
I am curious… what would the code look like to calculate the exact hour (GMT) with the Days since 2000 block? I'm looking for my game to automatically calculate the player's timezone.In the future, please create a new topic for any scripting questions. Thanks!
In answer to your question, take a look at this forum thread: https://scratch.mit.edu/discuss/post/8524631/
wow, I somehow found someone mentioning my post.
- Discussion Forums
- » Help with Scripts
-
» How do you use the days since 2000 block in a good way?









