Try our conversational search powered by Generative AI!

Anders Almås
Nov 30, 2009
  10228
(1 votes)

Time Zone Gadget

If you work as an editor or a developer in a global company, I bet you have found yourself in a situation where you have wondered if you can call your colleague or client abroad (and expect an answer). Will my colleague or client be at work yet? What is the time there? How do you even know if their day has started?

Well, just relax, the answers to all your prayers are here; the TimeZone gadget :) With this gadget you have full control over the local time at all locations that you deal with during your day!

How the Time Zone gadget works

You add your location by typing it in the textbox and click ”Find location!”.

A search for ”Copenhagen” returns the following results:

clip_image001

Select your location from the list by clicking ”add location”.

The location will then be added to your gadget showing the local time, timezone and GMT offset for each location, as shown below:

clip_image002[4]

What it is built on

I am using the GeoNames web services to find geographical locations and their corresponding time zone offsets. The clock is built using Silverlight and is based on this Silverlight project.

Download and installation

There are two projects; ”TimeZoneGadget” which is the Gadget MVC-project and a Silverlight project is called ”TimeZoneClock”, which is the clock.

The gadget is relying upon the Silverlight .xap-file being localized in ”ClientBin/TimeZoneClock.xap” under the root of your site.

Get the source files here:   

   
Nov 30, 2009

Comments

Please login to comment.
Latest blogs
Optimizely and the never-ending story of the missing globe!

I've worked with Optimizely CMS for 14 years, and there are two things I'm obsessed with: Link validation and the globe that keeps disappearing on...

Tomas Hensrud Gulla | Apr 18, 2024 | Syndicated blog

Visitor Groups Usage Report For Optimizely CMS 12

This add-on offers detailed information on how visitor groups are used and how effective they are within Optimizely CMS. Editors can monitor and...

Adnan Zameer | Apr 18, 2024 | Syndicated blog

Azure AI Language – Abstractive Summarisation in Optimizely CMS

In this article, I show how the abstraction summarisation feature provided by the Azure AI Language platform, can be used within Optimizely CMS to...

Anil Patel | Apr 18, 2024 | Syndicated blog

Fix your Search & Navigation (Find) indexing job, please

Once upon a time, a colleague asked me to look into a customer database with weird spikes in database log usage. (You might start to wonder why I a...

Quan Mai | Apr 17, 2024 | Syndicated blog

The A/A Test: What You Need to Know

Sure, we all know what an A/B test can do. But what is an A/A test? How is it different? With an A/B test, we know that we can take a webpage (our...

Lindsey Rogers | Apr 15, 2024

.Net Core Timezone ID's Windows vs Linux

Hey all, First post here and I would like to talk about Timezone ID's and How Windows and Linux systems use different IDs. We currently run a .NET...

sheider | Apr 15, 2024