Discuss Scratch
- Discussion Forums
- » Suggestions
- » Change the Days since 2000 Block
- 9kiwi9
-
100+ posts
Change the Days since 2000 Block
(days since 2000)//I think this block should become
(days since (2000))//category=sensing . Do you think it is a good idea?
- Tramcrazy
-
100+ posts
Change the Days since 2000 Block
Good idea but, I don't really see the point in this block (the existing one and the suggestion) as to find the year you can just use this:
If you want a specific date switch the drop-down to day. For a demonstration see this project. Also, would it come up with a negative for dates in the future?
(current [Year v])
If you want a specific date switch the drop-down to day. For a demonstration see this project. Also, would it come up with a negative for dates in the future?
(Days since [2020] :: sensing)What about decimals?
(days since [2013.64927737468327] :: sensing)
- 9kiwi9
-
100+ posts
Change the Days since 2000 Block
1. Yes, a negative number. Good idea but, I don't really see the point in this block (the existing one and the suggestion) as to find the year you can just use this:(current [Year v])
If you want a specific date switch the drop-down to day. For a demonstration see this project. Also, would it come up with a negative for dates in the future?(Days since [2020] :: sensing)What about decimals?(days since [2013.64927737468327] :: sensing)
2. It would give a decimal back.
- ExtremeLogic
-
500+ posts
Change the Days since 2000 Block
But what if someone didn't want to use the current year? Good idea but, I don't really see the point in this block (the existing one and the suggestion) as to find the year you can just use this:(current [Year v])
↔↔↔↔↔
Instead of(days since 2000)//I think this block should become
(days since (2000))//category=sensing . Do you think it is a good idea?
(days since (2000))//category=sensingit can be
(days since [Sep v][27 v][2001 v])//category=sensing (days since [MMM v][DD v][YYYY v]Right? Because what if someone misunderstood the block and got it confused between days since the first day of a year and days since the last day of a year?
- ProdigyZeta7
-
1000+ posts
Change the Days since 2000 Block
this(days since [Sep v][27 v][2001 v])//category=sensing (days since [MMM v][DD v][YYYY v]Right? Because what if someone misunderstood the block and got it confused between days since the first day of a year and days since the last day of a year?
- ExpertFollower
-
9 posts
Change the Days since 2000 Block
Support! Once I made a custom block to set a variable to the days since a certain year, and that involved a lot of math. 

- ttman12
-
69 posts
Change the Days since 2000 Block
The block should be changed so it wouldn't be specific to 2000. It should also include three selection boxes so you can actually change the date to any day, any month, and any year.
(days since [ v] [ v] [ v] )
- TheHockeyist
-
1000+ posts
Change the Days since 2000 Block
Indifferent. I have done a workaround for this and I personally prefer to use it, but I also support this block to make the work easier in future projects where I deal with various dates.
- MushroomMan99
-
100+ posts
Change the Days since 2000 Block
Support. I have no idea what we need this block for.
- OmnipotentPotato
-
1000+ posts
Change the Days since 2000 Block
Apoyo, the days since 2000 block is weird.
- stickfiregames
-
1000+ posts
Change the Days since 2000 Block
Is it calculated by the local or server time?
- OmnipotentPotato
-
1000+ posts
Change the Days since 2000 Block
Server time would be the only one that is consistent for cloud projects. Is it calculated by the local or server time?
- theonlygusti
-
1000+ posts
Change the Days since 2000 Block
I would just remove the days since 200 block altogether. It's pointless. Maybe replace it with days since the Epoch
(days since the Epoch :: sensing reporter)
- stickfiregames
-
1000+ posts
Change the Days since 2000 Block
How will everyone know when the epoch is, and how will it be more useful than 2000? I would just remove the days since 200 block altogether. It's pointless. Maybe replace it with days since the Epoch(days since the Epoch :: sensing reporter)
- TheHockeyist
-
1000+ posts
Change the Days since 2000 Block
The days since 2000 block measures from 00:00:00 UTC on 1 January 2000. It might be different for other time zones, but the block measures from UTC.
And the Epoch block can be worked around by doing “days since 2000 +/- (offset from 2000).”
And the Epoch block can be worked around by doing “days since 2000 +/- (offset from 2000).”
- stickfiregames
-
1000+ posts
Change the Days since 2000 Block
Support
(days since [28 v] [September v] [2014 v] :: sensing) // maybe make the year a number slot, and maybe the day as wellas well as
(global [minute v] :: sensing)
- Discussion Forums
- » Suggestions
-
» Change the Days since 2000 Block