ScratchData LogoScratchData
Back to gregatku's profile

World Clock Set Up

GRgregatku•Created July 15, 2018
World Clock Set Up
0
0
18 views
View on Scratch

Instructions

World Clock Set Up - Click the Green Flag to start Click the [Refresh Times] button any time to refresh the times. Unmodified the code only produces correct times if the home city (0 adjustment) is on AEST (eg. Melbourne & Sydney). It should be easy enough to work out how to modify the code to work for your home city by following the suggestions on screen. Does pretty much nothing until the missing code for calculating the time adjustment for a particular city is written.

Description

Created by @gregatku for use in Coding Classes for Kids Unlimited. This project simulates a World Clock by using the Scratch blocks for "current year/month/date/hour/minute" to set the date and time of the home city, in my case Melbourne, which is on Australian Eastern Standard Time (AEST). Most of the code to adjust the time for a particular city in the list has been removed. It's a student exercise to write that code. See the large block of comments inside for how.

Project Details

Project ID236451066
CreatedJuly 15, 2018
Last ModifiedJuly 23, 2021
SharedJuly 15, 2018
Visibilityvisible
CommentsAllowed