Discuss Scratch

imfh
Scratcher
1000+ posts

Current Millisecond,Microsecond and Nanosecond

Your browser doesn't let webpages get the current nano second for security reasons. I also can't think of any reason to need the current micro second. You can, however, get milliseconds using the days since 2000 block which has high precision.

24 hours * 60 minutes * 60 seconds * 1000 miliseconds = 86,400,000 = 86.4*10^6 = 86.4e6

((days since 2000) * (86.4e6)) // milliseconds since 2000
fdreerf
Scratcher
1000+ posts

Current Millisecond,Microsecond and Nanosecond

Micro and nanoseconds are too small units of times for Scratch to keep track of; each frame is only 1/30th of a second and anything smaller might as well be 0.

Last edited by fdreerf (April 28, 2021 14:04:57)

-Quantum_Studios-
Scratcher
500+ posts

Current Millisecond,Microsecond and Nanosecond

No support. All of these blocks would be used much longer than these units remainede the same.
stuck_in_2009
Scratcher
100+ posts

Current Millisecond,Microsecond and Nanosecond

no support, if you use those blocks wrong, then they could probably crash your computer
TopCode
Scratcher
1000+ posts

Current Millisecond,Microsecond and Nanosecond

sugarglidertotten wrote:

wvj wrote:

Fan-the-Bomb wrote:

Agree

ducktotten wrote:

I agree

Please say why
Why is because those are my accounts too I have multiple
*slams head on table*
PGBFLITE6373
Scratcher
1000+ posts

Current Millisecond,Microsecond and Nanosecond

TopCode wrote:

sugarglidertotten wrote:

wvj wrote:

Fan-the-Bomb wrote:

Agree

ducktotten wrote:

I agree

Please say why
Why is because those are my accounts too I have multiple
*slams head on table*
*table rebounds and hits my hand which makes me slap my forehead*
sugarglidertotten
Scratcher
33 posts

Current Millisecond,Microsecond and Nanosecond

when green flag clicked
say (current [millisecond v]) for (2) secs
sugarglidertotten
Scratcher
33 posts

Current Millisecond,Microsecond and Nanosecond

(((days since 2000) * (86400000)) mod (1000))
boncuk18
Scratcher
1000+ posts

Current Millisecond,Microsecond and Nanosecond

sugarglidertotten wrote:

-snip-
Please dont spam. also millisecond is a dupe.

Last edited by boncuk18 (April 29, 2021 07:23:43)

sugarglidertotten
Scratcher
33 posts

Current Millisecond,Microsecond and Nanosecond

define millisecond
sugarglidertotten
Scratcher
33 posts

Current Millisecond,Microsecond and Nanosecond

boncuk18 wrote:

sugarglidertotten wrote:

-snip-
Please dont spam. also millisecond is a dupe.
Also I now milli is a dupe
sugarglidertotten
Scratcher
33 posts

Current Millisecond,Microsecond and Nanosecond

^-^
sugarglidertotten
Scratcher
33 posts

Current Millisecond,Microsecond and Nanosecond

My browser / operating system: MacOS Macintosh X 10.15.6, Safari 14.0.3, No Flash version detected
sugarglidertotten
Scratcher
33 posts

Current Millisecond,Microsecond and Nanosecond

(current [ millisecondv])
sugarglidertotten
Scratcher
33 posts

Current Millisecond,Microsecond and Nanosecond

go to [Interstella space time v]
p-p-p-p-p-p-p-p-p-p-
Scratcher
1000+ posts

Current Millisecond,Microsecond and Nanosecond

lovecodeabc wrote:

sugarglidertotten wrote:

I vote that there should be a current millisecond, microsecond, nanosecond, even if not many people need it it’s not gonna do any harm just to be a block. I like to build a lot of clock things or timers and for milliseconds, microseconds, nanosecond. it would be easier to have current milli, micro and nano seconds then days since 2000 * 86400000 mod 1000. I spent hours browsing the internet for a code for these timings and I found the millisecond discussion and thought it should be a thing. Also Macie 1234 for the code script I actually found in the discussion. 100% full support. Even if no one uses it, it doesn’t do any harm does it? Just to have extra?

-sugarglidertotten
Well, microsecond would be TOTALLY inaccurate since HPCs (High Precision Clocks) are about 22,500 miles above Earth in geosyncronous orbit, and about time delay being about 5 seconds..
Nanoseconds will totally blind you
Support for milliseconds tho.
can't you like have the system subtract the amount from the number? I mean, it's not that hard…
p-p-p-p-p-p-p-p-p-p-
Scratcher
1000+ posts

Current Millisecond,Microsecond and Nanosecond

sugarglidertotten wrote:

go to [Interstella space time v]
Hi there! It's awesome you want to test the scratchblocks pluggin, it's really cool! However, please restrain from using just the blocks off-topic, unless doing so here. thanks

Scratchperson1000000
Scratcher
500+ posts

Current Millisecond,Microsecond and Nanosecond

STOP SPAMMING YOU'RE GETTING SUPER ANNOYING!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
gosoccerboy5
Scratcher
1000+ posts

Current Millisecond,Microsecond and Nanosecond

Does the average device have the capability to reliably measure (and possibly display) nanoseconds and microseconds in realtime?
p-p-p-p-p-p-p-p-p-p-
Scratcher
1000+ posts

Current Millisecond,Microsecond and Nanosecond

gosoccerboy5 wrote:

Does the average device have the capability to reliably measure (and possibly display) nanoseconds and microseconds in realtime?

p-p-p-p-p-p-p-p-p-p- wrote:

lovecodeabc wrote:

sugarglidertotten wrote:

I vote that there should be a current millisecond, microsecond, nanosecond, even if not many people need it it’s not gonna do any harm just to be a block. I like to build a lot of clock things or timers and for milliseconds, microseconds, nanosecond. it would be easier to have current milli, micro and nano seconds then days since 2000 * 86400000 mod 1000. I spent hours browsing the internet for a code for these timings and I found the millisecond discussion and thought it should be a thing. Also Macie 1234 for the code script I actually found in the discussion. 100% full support. Even if no one uses it, it doesn’t do any harm does it? Just to have extra?

-sugarglidertotten
Well, microsecond would be TOTALLY inaccurate since HPCs (High Precision Clocks) are about 22,500 miles above Earth in geosyncronous orbit, and about time delay being about 5 seconds..
Nanoseconds will totally blind you
Support for milliseconds tho.
can't you like have the system subtract the amount from the number? I mean, it's not that hard…

Powered by DjangoBB