current (year / month / date / hour / minute / second) — Scratch Block Guide
Reads the user’s real-world local clock and calendar.
What this block does
Reads the user’s real-world local clock and calendar.
Build digital/analog clocks, seasonal greetings, and day/night themes.
- Category: Sensing Blocks
- Key tip: Uses 24-hour time for hour (0 = midnight, 13 = 1 PM).
Working Scratch example
Try building this small script in the Scratch editor, predict what will happen, then click the green flag to test it.
- When green flag clicked
- Say (join Current hour: (current hour))
Try it: Displays the user’s current hour (0–23).
Related block guides
Explore other blocks in the same category or return to the full English Block Dictionary.
FAQ
When should I use "current (year / month / date / hour / minute / second)" in Scratch?
Build digital/analog clocks, seasonal greetings, and day/night themes. Uses 24-hour time for hour (0 = midnight, 13 = 1 PM).
This guide is provided for educational purposes. Scratch screens and terms may change over time, so please check the official Scratch website as well.