neco Scratch account: https://scratch.mit.edu/users/NecoDevloport/
neco YouTube channel: https://www.youtube.com/@necocat
What is Date and Time Calculator extension?
It is an extension to calculate the time faster and get the full time at once without putting a lot of join blocks.
Why do we need it?
- Save spaces
It can save spaces without join blocks like I said, and you can also calculate the time faster.
- Get your timezone faster
This extension can get your current time zone (not letters, but numbers).
- Better second
It includes milliseconds so you can calculate the details.
How to use it?
It is easy to use this extension, you just have to input some numbers to get the date, like this:
It also works with times:
To calculate the time faster, you can use this block below:
You can calculate with other types:
days
hours
minutes
seconds
milliseconds
Next, we have two reporter blocks called “Today” and “Now”. The “Today” block shows the date now.
The “Now” block shows the current date and the current time.
To get the difference between two times, you can use this block.
like the “days after” block, it has other types.
days
hours
minutes
seconds
milliseconds
With the “Days after 2000” block, you can calculate the time by inputting the day since 2000.
To calculate the day since 2000 of a date, you can use this block below.
To get the current timezone, you can use the “timezone” block.
(P.S. it skipped the colon, so it is +08:00)
You can also get the timezone offset in minutes.
To get the date from a timestamp, you can use this block.
There’s other types.
year
month
date
day
hours
minutes
seconds
milliseconds