Discuss Scratch

9kiwi9
Scratcher
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?
DerAxeEffekt
Scratcher
100+ posts

Change the Days since 2000 Block

Support!
savaka
Scratcher
1000+ posts

Change the Days since 2000 Block

Support!
Tramcrazy
Scratcher
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:
(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
Scratcher
100+ posts

Change the Days since 2000 Block

Tramcrazy wrote:

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)
1. Yes, a negative number.
2. It would give a decimal back.
ExtremeLogic
Scratcher
500+ posts

Change the Days since 2000 Block

Tramcrazy wrote:

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])
But what if someone didn't want to use the current year?
↔↔↔↔↔

9kiwi9 wrote:

(days since 2000)//I think this block should become
(days since (2000))//category=sensing . Do you think it is a good idea?
Instead of
(days since (2000))//category=sensing
it 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
Scratcher
1000+ posts

Change the Days since 2000 Block

ExtremeLogic wrote:

(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?
this
ExpertFollower
Scratcher
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
Scratcher
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
Scratcher
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
Scratcher
100+ posts

Change the Days since 2000 Block

Support. I have no idea what we need this block for.
OmnipotentPotato
Scratcher
1000+ posts

Change the Days since 2000 Block

Apoyo, the days since 2000 block is weird.
stickfiregames
Scratcher
1000+ posts

Change the Days since 2000 Block

Is it calculated by the local or server time?
OmnipotentPotato
Scratcher
1000+ posts

Change the Days since 2000 Block

stickfiregames wrote:

Is it calculated by the local or server time?
Server time would be the only one that is consistent for cloud projects.
theonlygusti
Scratcher
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
Scratcher
1000+ posts

Change the Days since 2000 Block

theonlygusti wrote:

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)
How will everyone know when the epoch is, and how will it be more useful than 2000?
samanyolu
Scratcher
1000+ posts

Change the Days since 2000 Block

I don't know. Semi-support
DemCupcakesYo
Scratcher
100+ posts

Change the Days since 2000 Block

Sprinkles.
TheHockeyist
Scratcher
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).”
stickfiregames
Scratcher
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 well
as well as
(global [minute v] :: sensing)

Powered by DjangoBB