Discuss Scratch

AntonL1kesPotato
Scratcher
1000+ posts

How to set the month, date, etc. using the "days since 2000" block?

I just want to find out how to set the month, day/date, hour, minute and second using the
(days since 2000)
block.

Last edited by AntonL1kesPotato (Aug. 3, 2021 15:57:50)

scratchusername40
Scratcher
1000+ posts

How to set the month, date, etc. using the "days since 2000" block?

One second is 0.000012 days since 2000
One minute is 0.000696 days since 2000
One hour is 0.041742 days since 2000
One day is 1.0018 days since 2000 (Shouldn't it be exactly 1?)
One year is 365.90745 days since 2000

But it would be inaccurate because of leap years, leap seconds, etc.
To find the date and such I would suggest just using the normal
(current [date v])
(current [minute v])
(current [... v])
SonicFanX123_321
Scratcher
1000+ posts

How to set the month, date, etc. using the "days since 2000" block?

scratchusername40 wrote:

Shouldn't it be exactly 1?
yeah why isnt it?

if i were you, id just use
bctorangejuice
Scratcher
24 posts

How to set the month, date, etc. using the "days since 2000" block?

scratchusername40 wrote:

One second is 0.000012 days since 2000
One minute is 0.000696 days since 2000
One hour is 0.041742 days since 2000
One day is 1.0018 days since 2000 (Shouldn't it be exactly 1?)
One year is 365.90745 days since 2000

But it would be inaccurate because of leap years, leap seconds, etc.
To find the date and such I would suggest just using the normal
(current [date v])
(current [minute v])
(current [... v])
yea same
SonicFanX123_321
Scratcher
1000+ posts

How to set the month, date, etc. using the "days since 2000" block?

if you wanna know how to years since 2000, heres the scripts to do it:

Powered by DjangoBB