Discuss Scratch

Thelnvoker
Scratcher
100+ posts

Change the 'Days since 2000' Block?

Have you ever used this block?

dayssince2000

I've rarely heard of anyone ever using it, so I think this block should be changed to a block more customizable.

What should this block be changed to?

I have an idea that instead of the block being a sensor for ‘days since 2000’ you can change the date.

It would look something like this:

dayssince2000



This way it would count the number of days since the given date.

Thanks!

-@Thelnvoker

Last edited by Thelnvoker (April 23, 2016 16:42:29)

Abstract-
Scratcher
1000+ posts

Change the 'Days since 2000' Block?

dayssinceyear2000

Support for the above block instead of “Years since 2000” The default date should be 2000 though.

Dropdown menue options:

Days
Weeks
Months
Years

And if they put in a future year, like say, 3016, then it would say nothing.

Last edited by Abstract- (May 7, 2016 14:27:12)

jokebookservice1
Scratcher
1000+ posts

Change the 'Days since 2000' Block?

Thelnvoker wrote:

Have you ever used this block?

dayssince2000

I've rarely heard of anyone ever using it, so I think this block should be changed to a block more customizable.

What should this block be changed to?

I have an idea that instead of the block being a sensor for ‘days since 2000’ you can change the date.

It would look something like this:

dayssinceenter date

(Except blue.)

This way it would count the number of days since the given date.

Thanks!

-@Thelnvoker
Yeah. I support, perhaps a dropdown like this might be better for input validation:
dayssince5ofJanuaryoftheyear
Just want to point out that the
dayssince2000
provides it based on UTC, s you can get smebody's timezone by doing this:
settimeZonetodayssince2000-floorofdayssince2000*24-currenthour
which makes the block useful. But yeah, I support

Last edited by jokebookservice1 (May 13, 2016 15:51:20)

Thelnvoker
Scratcher
100+ posts

Change the 'Days since 2000' Block?



Agreed.

Last edited by Thelnvoker (April 23, 2016 16:44:27)

Thelnvoker
Scratcher
100+ posts

Change the 'Days since 2000' Block?

Abstract- wrote:

dayssinceyear2000

Support for the above block instead of “Years since 2000” The default date should be 2000 though.

Dropdown menue options:

Days
Weeks
Months
Years

Agreed.
Sheep_maker
Scratcher
1000+ posts

Change the 'Days since 2000' Block?

Abstract- wrote:

Dropdown menue options:

Days
Weeks
Months
Years
How long is a month? Its length is inconsistent so I don't think it should be a unit of time. Not to mention that an year can be confused as either 365.25 or 365 and 366.

Thelnvoker wrote:

Have you ever used this block?

dayssince2000

I've rarely heard of anyone ever using it, so I think this block should be changed to a block more customizable.
Yes I have used the block, a lot. It's useful for calculating milliseconds or the time zone, an alternative to the timer (and can't be reset!), syncing everyone's values to the same time, etc.

But support for
dayssince2000numeric input, default value
assuming that 0 = 1BCE, decimals work as normal, and it gives the days until a given year if the year hasn't occurred yet.
TheCode7
Scratcher
78 posts

Change the 'Days since 2000' Block?

I support! This is a really cool idea!
Techno-CAT
Scratcher
1000+ posts

Change the 'Days since 2000' Block?

TheCode7 wrote:

I support! This is a really cool idea!
Abstract-
Scratcher
1000+ posts

Change the 'Days since 2000' Block?

Sheep_maker wrote:

Abstract- wrote:

Dropdown menue options:

Days
Weeks
Months
Years
How long is a month? Its length is inconsistent so I don't think it should be a unit of time. Not to mention that an year can be confused as either 365.25 or 365 and 366.

Thelnvoker wrote:

Have you ever used this block?

dayssince2000

I've rarely heard of anyone ever using it, so I think this block should be changed to a block more customizable.
Yes I have used the block, a lot. It's useful for calculating milliseconds or the time zone, an alternative to the timer (and can't be reset!), syncing everyone's values to the same time, etc.

But support for
dayssince2000numeric input, default value
assuming that 0 = 1BCE, decimals work as normal, and it gives the days until a given year if the year hasn't occurred yet.
Oops… okay months can be removed, but I think years would count as 365.
TheAwesomeMaster
Scratcher
1000+ posts

Change the 'Days since 2000' Block?

Abstract- wrote:

dayssinceyear2000

Support for the above block instead of “Years since 2000” The default date should be 2000 though.

Dropdown menue options:

Days
Weeks
Months
Years
This.
customhacker
Scratcher
1000+ posts

Change the 'Days since 2000' Block?

Abstract- wrote:

dayssinceyear2000

Support for the above block instead of “Years since 2000” The default date should be 2000 though.

Dropdown menue options:

Days
Weeks
Months
Years

Yes, this block would be more helpful for clocks.
dude341
Scratcher
1000+ posts

Change the 'Days since 2000' Block?

Abstract- wrote:

dayssinceyear2000

Support for the above block instead of “Years since 2000” The default date should be 2000 though.

Dropdown menue options:

Days
Weeks
Months
Years

And if they put in a future year, like say, 3016, then it would say nothing.
How about:
dayssince/untilyear2000

Last edited by dude341 (May 9, 2016 06:23:21)

Thelnvoker
Scratcher
100+ posts

Change the 'Days since 2000' Block?

dude341 wrote:

Abstract- wrote:

dayssinceyear2000

Support for the above block instead of “Years since 2000” The default date should be 2000 though.

Dropdown menue options:

Days
Weeks
Months
Years

And if they put in a future year, like say, 3016, then it would say nothing.
How about:
days[bsince/until/bv]year2000

Support for the text I bolded.
scratchisthebest
Scratcher
1000+ posts

Change the 'Days since 2000' Block?

No support because you can just subtract 365.25 days for every year
Thelnvoker
Scratcher
100+ posts

Change the 'Days since 2000' Block?

scratchisthebest wrote:

No support because you can just subtract 365.25 days for every year

What's the code to do this?
DaSpudLord
Scratcher
1000+ posts

Change the 'Days since 2000' Block?

Thelnvoker wrote:

scratchisthebest wrote:

No support because you can just subtract 365.25 days for every year

What's the code to do this?
dayssince2000-numberofyears*365.25
JonathanSchaffer
Scratcher
1000+ posts

Change the 'Days since 2000' Block?

support for
dayssinceyear2000

Last edited by JonathanSchaffer (May 13, 2016 15:49:29)

Thelnvoker
Scratcher
100+ posts

Change the 'Days since 2000' Block?

DaSpudLord wrote:

Thelnvoker wrote:

scratchisthebest wrote:

No support because you can just subtract 365.25 days for every year

What's the code to do this?
dayssince2000-numberofyears*365.25

Thanks.
jokebookservice1
Scratcher
1000+ posts

Change the 'Days since 2000' Block?

ddk44 wrote:

My browser / operating system: ChromeOS 7978.74.0, Chrome 50.0.2661.103, Flash 21.0 (release 0) hahaha
Please don'e emojispam
Thelnvoker
Scratcher
100+ posts

Change the 'Days since 2000' Block?

ddk44 wrote:

My browser / operating system: ChromeOS 7978.74.0, Chrome 50.0.2661.103, Flash 21.0 (release 0) hahaha
What?

Powered by DjangoBB