This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-06-29 10:32:45

WKramer
Scratcher
Registered: 2012-05-20
Posts: 9

getting time

I would like to try and make a digital or analog clock that shows the real time.
Is it possible for Scratch to get the real time,like the time on my computer ?

If so how do I get the hours ,minutes and seconds?

Offline

 

#2 2012-06-29 10:40:14

RedRocker227
Scratcher
Registered: 2011-10-26
Posts: 1000+

Re: getting time

It's not possible in the current version of Scratch, sorry. One of the things that I really want to know is why it wasn't added.


Why

Offline

 

#3 2012-06-29 10:41:54

WKramer
Scratcher
Registered: 2012-05-20
Posts: 9

Re: getting time

Thanks

Offline

 

#4 2012-06-29 12:54:45

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: getting time

Like Redrocker said, it's not possible to retrieve the actual time in Scratch, but you could have an option to set the clock and then keep track of time with the timer. Not an ideal solution but it works.  smile


http://www.blocks.scratchr.org/API.php?action=random&return=image&link1=http://i.imgur.com/OZn2RD3.png&link2=http://i.imgur.com/duzaGTB.png&link3=http://i.imgur.com/CrDGvvZ.png&link4=http://i.imgur.com/POEpQyZ.png&link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

Board footer