NEW Explore the Scratch Block Dictionary, tutorials, textbook, and classroom guides

Start learning →

current (year / month / date / hour / minute / second) — Scratch Block Guide

📌 What you will learn

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.

Example using current (year / month / date / hour / minute / second)
  1. When green flag clicked
  2. 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.

Back to Sensing Blocks See the overview and patterns for Sensing Blocks. Learn more → Scratch Block Dictionary (All Categories) Browse Motion, Looks, Sound, Events, Control, Sensing, Operators, Variables, and Extensions. Learn more →

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.