From Test-Scratch-Wiki

Archive.png This article or section documents a feature not included in the current version of Scratch (3.0). It is only useful from a historical perspective. For information on the feature that replaced this one, see Days Since 2000 (block).
"Scratch Days" redirects here. For the annual event, see Scratch Day.
Scratch Days
2.0 Scratch Days.png
Category Sensing
Type Reporter
Introduced in 2.0 alpha
Removed in 2.0 beta

The Scratch days block was a Sensing block and a reporter block. It reported the number of days since the start of Scratch (May 15, 2007). It was available in the Beta of Scratch 2.0 but did not make the initial release, as other, more variatical time blocks took its place.

This block was notable for being the only one in the block palette starting with a capital letter.

Example Uses

This block could be used in some of the following ways:

  • Making a countdown
  • Making something unavailable before or after a certain date

Workaround

Main article: List of Block Workarounds

This block can be simulated with the following code:

((days since 2000) - (2692))

This is because May 15, 2007 is 2692 days after January 1, 2000.

Removal

This block has been replaced with the Days Since 2000 block.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.