Revision as of 07:12, 10 January 2019 by TemplatesFTW (talk | contribs) (Automated edit: fixed 2 style guidelines)

Archive.png This article or section documents something 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 beta
Removed in 2.0 release

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,[citation needed] 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.[citation needed]

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.

You can also use the "current day" block to get around it.

Removal

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