Discuss Scratch

ProfessorNatquik
Scratcher
27 posts

How can you make a variable that detects the actual time?

I wonder if you can make a variable which detects the actual time and if the minute changes ticks on, like the time you have on your computer taskbar on windows.

Thanks for the help!
deck26
Scratcher
1000+ posts

How can you make a variable that detects the actual time?

Look in the Sensing blocks

(current [hour v])
P444
Scratcher
500+ posts

How can you make a variable that detects the actual time?

when green flag clicked
forever
set [Time v] to (join (join (join (join (current [hour v]) [:]) (current [minute v])) [:]) (current [second v]))
end

Hey there random person scrolling through one of my posts! Hope you have a nice day (ノ◕ヮ◕)ノ*:・゚✧


Reserved for advertisements >:3

ProfessorNatquik
Scratcher
27 posts

How can you make a variable that detects the actual time?

Thanks guys!

Powered by DjangoBB