Try our conversational search powered by Generative AI!

Anders Almås
Nov 30, 2009
  10240
(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
A day in the life of an Optimizely Developer - Enabling Opti ID within your application

Hello and welcome to another instalment of A Day In The Life Of An Optimizely developer, in this blog post I will provide details on Optimizely's...

Graham Carr | May 9, 2024

How to add a custom property in Optimizely Graph

In the Optimizely CMS content can be synchronized to the Optimizely Graph service for it then to be exposed by the GraphQL API. In some cases, you...

Ynze | May 9, 2024 | Syndicated blog

New Security Improvement released for Optimizely CMS 11

A new security improvement has been released for Optimizely CMS 11. You should update now!

Tomas Hensrud Gulla | May 7, 2024 | Syndicated blog

Azure AI Language – Key Phrase Extraction in Optimizely CMS

In this article, I demonstrate how the key phrase extraction feature, offered by the Azure AI Language service, can be used to generate a list of k...

Anil Patel | May 7, 2024 | Syndicated blog