Discuss Scratch

Thelnvoker
Scratcher
100+ posts

Change the 'Days since 2000' Block?

Have you ever used this block?

(days since 2000)

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:

(days since(2000)::sensing)//



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)


I'm a basically a potato or cat or something with a very dark sense of humor who likes steampunk, traditional art, Skyrim, etc.

Anyone wanna RP with me?


Abstract-
Scratcher
1000+ posts

Change the 'Days since 2000' Block?

([days v] since year[2000]::sensing

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?

(days since 2000)

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:

(days since [enter 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:
(days since (5) of [January v] of the year [])
Just want to point out that the
(days since 2000)
provides it based on UTC, s you can get smebody's timezone by doing this:
set [timeZone v] to ( (((days since 2000) - ([floor v] of (days since 2000))) * (24)) - (current [hour v]) )
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)


I'm a basically a potato or cat or something with a very dark sense of humor who likes steampunk, traditional art, Skyrim, etc.

Anyone wanna RP with me?


Thelnvoker
Scratcher
100+ posts

Change the 'Days since 2000' Block?

Abstract- wrote:

([days v] since year[2000]::sensing

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.

I'm a basically a potato or cat or something with a very dark sense of humor who likes steampunk, traditional art, Skyrim, etc.

Anyone wanna RP with me?


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?

(days since 2000)

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
(days since(2000)::sensing)//numeric 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.

- Sheep_maker This is a kumquat-free signature. :P
This is my signature. It appears below all my posts. Discuss it on my profile, not the forums. Here's how to make your own.
.postsignature { overflow: auto; } .scratchblocks { overflow-x: auto; overflow-y: hidden; }
TheCode7
Scratcher
78 posts

Change the 'Days since 2000' Block?

I support! This is a really cool idea!

Hello!

Here is my most popular project!

Do you like making your own levels? This game is for you!

Want a fun project challenge? Use only 1 script in your projects and submit them in this studio!

Sorry that I use exclamation points a lot!

-TheCode7
Techno-CAT
Scratcher
1000+ posts

Change the 'Days since 2000' Block?

TheCode7 wrote:

I support! This is a really cool idea!


See what people have created by clicking here.
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?

(days since 2000)

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
(days since(2000)::sensing)//numeric 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:

([days v] since year[2000]::sensing

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.

Hello!
I'm TheAwesomeMaster: a middle school violist (someone who plays the viola), coder, artist, and writer! I also enjoy role-playing and helping out in the community.
| Profile | Wiki Page | Scratch String Orchestra | ᎪρᏂεℓ༏Ꮻ₪~ A Space Odyssey by Novakitty |
If you are reading this, comment “I have superpowers.” on my profile.
^._.^::control //This is Kallie. She is a certified siggy protector. She protects my siggy from kumquats.
customhacker
Scratcher
1000+ posts

Change the 'Days since 2000' Block?

Abstract- wrote:

([days v] since year[2000]::sensing

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.

❖ Member of the Forum Helpers ❖ Experienced Wikian ❖
❖ Member of the Wiki Warehouse ❖ Owner of Customhacker's Royal Logo and Banner Shop ❖
❖ Member of Unloved Loves ❖ Former Member of the Services Planning Department ❖
dude341
Scratcher
1000+ posts

Change the 'Days since 2000' Block?

Abstract- wrote:

([days v] since year[2000]::sensing

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 v] [since/until v] year[2000]::sensing

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


Placeholder
Thelnvoker
Scratcher
100+ posts

Change the 'Days since 2000' Block?

dude341 wrote:

Abstract- wrote:

([days v] since year[2000]::sensing

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 v] [[b]since/until[/b] v] year[2000]::sensing

Support for the text I bolded.

I'm a basically a potato or cat or something with a very dark sense of humor who likes steampunk, traditional art, Skyrim, etc.

Anyone wanna RP with me?


scratchisthebest
Scratcher
1000+ posts

Change the 'Days since 2000' Block?

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

I am a Lava Expert
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?

I'm a basically a potato or cat or something with a very dark sense of humor who likes steampunk, traditional art, Skyrim, etc.

Anyone wanna RP with me?


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?
((days since 2000) - ((number of years::grey) * (365.25)))


U^ェ^U::motion//This is Blocky. He lives in my signature. He is a trained attack block. He protects my siggy from kumquats.
JonathanSchaffer
Scratcher
1000+ posts

Change the 'Days since 2000' Block?

support for
([days v] since year (2000)::sensing)

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


club penguin is kil
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?
((days since 2000) - ((number of years::grey) * (365.25)))

Thanks.

I'm a basically a potato or cat or something with a very dark sense of humor who likes steampunk, traditional art, Skyrim, etc.

Anyone wanna RP with me?


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?

I'm a basically a potato or cat or something with a very dark sense of humor who likes steampunk, traditional art, Skyrim, etc.

Anyone wanna RP with me?


Powered by DjangoBB