|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.
|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, as other, more variatical time blocks took its place.
This block could be used in some of the following ways:
- Making a countdown
- Making something unavailable before or after a certain date
- 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.
This block has been replaced with the Days Since 2000 block.