Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to put clock with different timezone

Ramiro Espinosa
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 14, 2018

Hi Guys,

 

I'm creating a homepage for our organization and would like to put a time clock to show different timezone (London, US, and India). Thanks in advance.

3 answers

6 votes
Sarah Gray
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 28, 2018

If you're using Confluence cloud, you can insert a clock using the iframe macro. I was able to do this by:

1. Generating a clock for the timezone of my choice here: https://www.timeanddate.com/clocks/free.html

2. Copying the generated iframe html, for example: <iframe src="https://freesecure.timeanddate.com/clock/i6e3da3w/n264/fn2/tcccc/bo2/tt0/tw1/tm2/ts1/ta1" frameborder="0" width="314" height="23"></iframe>

3. Inserting the Iframe Macro onto the confluence page

4. Copying the url into the URL field for the macro. So for the example above: https://freesecure.timeanddate.com/clock/i6e3da3w/n264/fn2/tcccc/bo2/tt0/tw1/tm2/ts1/ta1

5. Setting height to the specified height in the html, in this case 23

 

Note that this will not work with http, so you have to specify https.

Michael Simmons
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 5, 2022

AWESOME - Thank you!

0 votes
Stephen Deutsch
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 18, 2018

I wrote this user macro a while ago; you can use it if you are running a server instance:

https://community.atlassian.com/t5/Confluence-questions/Multiple-timezones-displayed-in-confluence/qaq-p/6423#M1075

0 votes
Patrick Cartier [Candylio]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 16, 2018

Hi @Ramiro Espinosa

Are you on cloud or server? 

If server, what version are you running?

Do you want it to show the current time based on where the user is?  Or are you looking to display multiple clocks with multiple different times for everyone to see?

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events