How long to go?

One of the things that really annoys me is not actually knowing when a UTC time is. And I live in England, where time is UTC for half the year. God knows what it's like for people elsewhere.

So, people write a thing (this happens a lot in the Ubuntu world, because it's very international) saying "we're getting together at 1500 UTC for a meeting", and I think: when's that?

Help is now at hand. Here is a bookmarklet named "How long to go, UTC?" which will, when clicked, put a little clock next to every time it finds, and that clock has a (dynamically updating) tooltip explaining how far from now that time is.

How long to go, UTC?

Click the link to test it on this page; drag it to your bookmarks bar to add it as a bookmarklet.

Only works for round hour times in UTC. Extending to arbitrary times and arbitrary timezones, as well as testing it in any browser other than Firefox 16, is left as an exercise for the reader.

This script was brought to you by the window.find function, which I didn't know existed. — sil

Some example text to test it out

And did those feet, in ancient times, walk upon England's mountains green. Generally at around 01:00 UTC (that's one o'clock in the morning, in the winter, in the UK).

1700UTC 1700 UTC 17:00 UTC 17:00UTC

Join us on Ubuntu On Air at 1700UTC (1pm EDT) where we answer your questions about Ubuntu! Today we'll have Neil Patel (Technical Architect for Unity), Robert Carr (Ubuntu Web Apps), and Ken Van Dine (Desktop Team).