Logo
  • Features
  • Educators
  • What's New
  • Blog
  • Showcase
  • About us
  • Contact
Try it now!
Date and Time Calculator
Date and Time Calculator

Date and Time Calculator

✍️
This document is created by neco from Gandi IDE community and edited by Gandi IDE Team.
image

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?

  1. Save spaces

It can save spaces without join blocks like I said, and you can also calculate the time faster.

  1. Get your timezone faster

This extension can get your current time zone (not letters, but numbers).

  1. 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:

image

It also works with times:

image

To calculate the time faster, you can use this block below:

image

You can calculate with other types:

days

image

hours

image

minutes

image

seconds

image

milliseconds

image

Next, we have two reporter blocks called “Today” and “Now”. The “Today” block shows the date now.

image

The “Now” block shows the current date and the current time.

image

To get the difference between two times, you can use this block.

image

like the “days after” block, it has other types.

days

image

hours

image

minutes

image

seconds

image

milliseconds

image

With the “Days after 2000” block, you can calculate the time by inputting the day since 2000.

image

To calculate the day since 2000 of a date, you can use this block below.

image

To get the current timezone, you can use the “timezone” block.

image

(P.S. it skipped the colon, so it is +08:00)

You can also get the timezone offset in minutes.

image

To get the date from a timestamp, you can use this block.

image

There’s other types.

year

image

month

image

date

image

day

image

hours

image

minutes

image

seconds

image

milliseconds

image
💡
If you have any questions or suggestions, you can find us in the discord server: https://discord.gg/U3nyveCvRa
Logo

Designed by 2ndR with love

Discord