Anders Almås
Nov 30, 2009
  10327
(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
Integrating Optimizely DAM with Your Website

This article is the second in a series about integrating Optimizely DAM with websites. It discusses how to install the necessary package and code t...

Andrew Markham | Sep 28, 2024 | Syndicated blog

Opticon 2024 - highlights

I went to Opticon in Stockholm and here are my brief highlights based on the demos, presentations and roadmaps  Optimizely CMS SaaS will start to...

Daniel Ovaska | Sep 27, 2024

Required fields support in Optimizely Graph

It's been possible to have "required" properties (value must be entered) in the CMS for a long time. The required metadata haven't been reflected i...

Jonas Bergqvist | Sep 25, 2024

How to write a bespoke notification management system

Websites can be the perfect vehicle for notifying customers of important information quickly, whether it’s the latest offer, an operational message...

Nicole Drath | Sep 25, 2024

Optimizely DAM – An Introduction

I presented a talk about the Optimizely DAM at the OMVP summit during Opticon 2024 in Sweden. I have now converted that talk into two blog posts....

Andrew Markham | Sep 25, 2024 | Syndicated blog

Simple and Effective Personalization with Optimizely Data Platform (ODP)

As we dive into the amazing capabilities of Optimizely One, let’s shine a spotlight on the Optimizely Data Platform (ODP). This simple tool unifies...

Alex Harris - Perficient | Sep 24, 2024 | Syndicated blog