How to compile SyncArduinoClock?

How to compile SyncArduinoClock?

I’m trying to use the time.h library for the first time. I loaded the SyncArduinoClock sketch and tried to compile it, but immediately received the error message:

‘import’ does not name a type

for the line:

import processing.serial.*;

When I select “Find in Reference” for “processing.serial.”, the following error message is returned: “no reference available for processing.serial”

I only have a hazy idea of what any of this means. What do I need to do to compile the SyncArduinoClock sketch?

Thanks in advance for any advice for what I assume is a relatively simple question.

That is not an Arduino sketch, it is a Processing sketch. You will need to download and install Processing to run it.