Need to insert a clock into your Google Slides presentation? Adding a live clock to your slides can be an effective way to keep your audience on time, or even add a touch of interactivity to your presentation. Here's a step-by-step guide on how to achieve this.

Before we dive into the process, a quick note: Google Slides doesn't have a built-in clock function. However, we can use Google Apps Script to create one. Don't worry, no coding experience is needed!

Inserting a Clock into Google Slides
The process involves creating a Google Apps Script project, writing a simple script, and binding it to a drawing on your slide. Let's get started.

First, open your Google Slides presentation. Click on 'Extensions' in the menu, then 'Apps Script.' A new tab titled 'Script Editor' will open.
Creating the Script

In the 'Script Editor,' click on the '+' icon to create a new function. Name it 'updateTime.' Here's the script you'll need to add:
function updateTime tiempo {
var slide = Slides.Presentations>= your_presentation_id ?>= slide_number ?>>;
var clock = tiempo;
var newShape = Slides.PageElementsipingElementFromText(slide, clock);
shuffle(newShape);
}
Replace '= your_presentation_id ?>' and '= slide_number ?>' with your presentation ID and the number of the slide where you want to place the clock. You can find your presentation ID in the URL when you're editing a presentation (it's the long string of characters between '/d/' and '/edit').
But wait, what about the time update? Due to Google APIs limitations, we can't update the time directly on the slide. Instead, we'll use a workaround using another script.

Creating the Time Update Script
Create another function, name it 'updateAllSlides.' Add the following script:
function updateAllSlides() {
var presentation = Slides.Presentations>= your_presentation_id ?>;
We'll come back to this script later. For now, save both scripts by clicking the disc icon or pressing Ctrl + S.

Now let's get back to our clock.
Placing the Clock on Your Slide










With the scripts ready, it's time to place the clock on your slide. Go back to your Google Slides presentation tab.
On the slide where you want to place the clock, click on 'Insert,' then 'Drawing.' A new window will open. In it, click on the '+' icon to create a new shape. Draw a rectangle. Click 'Save & Close.'
Now, select the rectangle you just drew. Click on 'Animation' in the right sidebar. Under 'Advanced,' click 'Script.' Select 'updateTime' from the dropdown menu, and click 'Save.'
Your clock is now placed on the slide, but it's not updating. Let's fix that.
Updating the Time
To update the time, we'll use a time-driven trigger. Go back to the 'Script Editor.' Click on 'Triggers' in the left sidebar. Click on 'Add Trigger.' In 'Choose which function to run,' select 'updateAllSlides.' Set 'Choose which deployment should run' to 'Head.' Choose 'Hour timer' for 'Select event source.' Set the frequency to 'Every hour.' Click 'Save.'
Now, whenever you open your presentation, the time on the clock will update every hour!
And there you have it! You've successfully inserted a live clock into your Google Slides presentation. Keep in mind that time updates may not be instant due to Google's APIs. But hey, at least they'll be accurate!
Happy presenting! Don't forget to explore more add-ons and integrations to make your presentations even more engaging.