Discuss Scratch
- Dy155
-
98 posts
Days since 2000 must be changed
Should be changed from
(days since 2000)to
(days since ():: sensing)
- Scratcher1002
-
1000+ posts
Days since 2000 must be changed
? Why should it be change? Should be changed from(days since 2000)to(days since ():: sensing)
Last edited by Scratcher1002 (Dec. 7, 2015 01:08:58)
- Dy155
-
98 posts
Days since 2000 must be changed
Because what if a scratcher wants to know the exact number of days since not 2000?? Why should it be change? Should be changed from(days since 2000)to(days since ():: sensing)
Even though its workaroundable:
((days since 2000) - ((...) * (pick random (365) to (366))))or
((days since 2000) + ((...) * (pick random (365) to (366))))
Last edited by Dy155 (Dec. 7, 2015 01:14:01)
- DaSpudLord
-
1000+ posts
Days since 2000 must be changed
Then use your workaround. No support.Because what if a scratcher wants to know the exact number of days since not 2000?? Why should it be change? Should be changed from(days since 2000)to(days since ():: sensing)
- chuckdaboss
-
100+ posts
Days since 2000 must be changed
the workaround is clunky, support!Then use your workaround. No support.Because what if a scratcher wants to know the exact number of days since not 2000?? Why should it be change? Should be changed from(days since 2000)to(days since ():: sensing)
- Dy155
-
98 posts
Days since 2000 must be changed
thanks!the workaround is clunky, support!Then use your workaround. No support.Because what if a scratcher wants to know the exact number of days since not 2000?? Why should it be change? Should be changed from(days since 2000)to(days since ():: sensing)
- gtoal
-
1000+ posts
Days since 2000 must be changed
You ought to be able to use some combination of
(current [day v])and a forumula that includes
(current [month v])
(current [year v])
(current [date v])
<<<((year) mod (4)) = [0]> and <not <((year) mod (100)) = [0]>>> and <(month) > [2]>>plus an array of days in a month to write your own ‘days since’ function (which you can check using 1/1/2000 as a baseline)
Last edited by gtoal (Dec. 7, 2015 03:48:30)
- cs293450
-
100+ posts
Days since 2000 must be changed
No thank you.
1. We can only report number of days since 2000.
1. We can only report number of days since 2000.
- IronBit_Studios
-
1000+ posts
Days since 2000 must be changed
If you don't support, don't necro. No thank you.
1. We can only report number of days since 2000.
- cs293450
-
100+ posts
Days since 2000 must be changed
2. This block is required.
(days since 2000)
- alexphan
-
1000+ posts
Days since 2000 must be changed
Semi-support, because there's leap years and all that. I don't think the days since 2000 block should be removed, though.
Last edited by alexphan (March 27, 2016 00:30:41)
- Sheep_maker
-
1000+ posts
Days since 2000 must be changed
How would a date be entered into the number input? Also I don't think we should get rid of the Days since 2000 block since I use it more than I use the timer block for the same purpose. It's also useful for making the seconds hand go smoothly on analog clocks, determining time zones, and finding the current millisecond.
- WooHooBoy
-
1000+ posts
Days since 2000 must be changed
I'd really like a milliseconds since 2000 and a “turn date into timestamp (time)”, days with (name) seems a little strange compared to (milli)seconds
Last edited by WooHooBoy (March 26, 2016 20:14:25)
- Inreal49
-
100+ posts
Days since 2000 must be changed
You ought to be able to use some combination of(current [day v])and a forumula that includes
(current [month v])
(current [year v])
(current [date v])<<<((year) mod (4)) = [0]> and <not <((year) mod (100)) = [0]>>> and <(month) > [2]>>plus an array of days in a month to write your own ‘days since’ function (which you can check using 1/1/2000 as a baseline)
no all the people knows to do that hards workarounds, support for the post
- pvz_pro
-
500+ posts
Days since 2000 must be changed
he is not suggesting to remove the block 2. This block is required.(days since 2000)
- Sigton
-
1000+ posts
Days since 2000 must be changed
I'm trying to think of how changing this block is useful.
Nope, can't see how.
1) it's actually very useful for clocks etc.
2) there's a simple workaround you yourself stated.
3) don't fix something that ain't broke.
Sigton
Nope, can't see how.
1) it's actually very useful for clocks etc.
2) there's a simple workaround you yourself stated.
3) don't fix something that ain't broke.
Sigton
- BlockWare
-
100+ posts
Days since 2000 must be changed
No support, considering you provided two easy workarounds 

- redgreenandblue
-
100+ posts
Days since 2000 must be changed
Support! Make a
The number input is a year. If it is something like 2015 it would be a negative number. If it is 2017 it would be positive.
Days till ( )::sensingblock.
The number input is a year. If it is something like 2015 it would be a negative number. If it is 2017 it would be positive.
- SuperNicky
-
100+ posts
Days since 2000 must be changed
I don't really see any usefulness in the days since 2000 block, there's nothing that can go against its removal, however I do not see a practical use in a
(days since () )block. And because of that, despite the cumbersome workaround, I do not support.
Last edited by SuperNicky (May 29, 2016 23:41:44)