Showing posts with label time. Show all posts
Showing posts with label time. Show all posts

Friday, December 30, 2016

Guest Post: 2016 lasts a little longer thanks to a leap second


by Darryl Veitch, University of Technology Sydney

To the time-poor of the world: take heart, for 2016 is a generous year. Not only were you granted a leap day on 29 February, you will soon score a New Year’s Eve countdown bonus, a leap second, to hold off 2017 for a final sip or regret.

Whereas leap years add a day to align the calendar with the seasons, leap seconds align our everyday clocks with the Sun’s position in the sky, that is, with the Earth’s rotation.

clock leap second leap year 2016 timeCurrently our planet takes roughly 86,400.00183 seconds (on average) to turn, instead of the expected 86,400 seconds you get by multiplying 24 hours by 60 minutes by 60 seconds. This may not sound like a great difference, but it amounts to a full second every 18 months. If left unchecked, it would become noticeable over time, and ultimately become problematic.

How did we get into this awkward situation? Why not just define a second so that there are exactly the right number? This sensible idea was tried in 1874, but hit a snag: the Earth keeps changing.

In terms of today’s standard SI second (defined via atomic physics), the above discrepancy is due to the fact that the day is losing about 0.0015 seconds per century, due largely to tidal friction.

Not only that, it also changes quite erratically due to mass redistribution.
For example, it is slowed by oceanic thermal expansion due to global warming, just as a playground spinning seat slows, via the conservation of angular momentum, when you place your body farther from the centre.

Leap seconds are used to make sure our usual timekeeping system, Coordinated Universal Time (UTC), never gets more than 0.9 seconds away from the Earth-tracking alternative, Universal Time (UT1).

But unlike leap years, leap seconds cannot be calculated centuries in advance. Because the Earth moves erratically, it must be observed closely, and leap seconds scheduled on an as-needed basis.

In UT1, seconds actually vary in duration, being stretched and compressed to match the Earth’s variations. In UTC, all seconds are standard SI seconds, which is much simpler, but it means that if you want to slow down or speed up UTC, there is no alternative but to jump.

All the leap seconds so far have been “positive”, meaning that an extra second is inserted, corresponding to jumping the clock back, and so slowing it down.

Time’s up for the leap second?


The leap second system has been with us since 1972. It represents an important chapter in the entangled history of civilian timekeeping, and of the definition of the second itself. Its days, however, may well be numbered.

For a number of years, support has been growing within the International Telecommunications Union, the standards body governing leap seconds, to abolish it.

carousel new year carnival
The chief reason is complexity. Simply put, hardware and software can and do get things wrong. And the potential impacts are serious, from failures in navigation leading to collisions, to erroneous financial transactions, computer crashes and the inability to specify UTC times reliably into the future, because the leap second times are not yet known!

Because UTC jumps back at a leap second, effectively the second before the leap is repeated. Managing such “time travel” is inherently complex and error prone, so much so that in many cases the recommended action is to simply shutdown the system and restart it after the leap.

A dramatic illustration of the problem can be found in the internet. All computers have software clocks that generally rely on communication with time servers over the network to synchronise to UTC. Network timekeeping is a core internet service, and at its heart are the Stratum-1 servers, which have direct access to reference hardware such as atomic clocks.

We collected data from around 180 such servers around the world during the June 2015 leap second event, and assessed them from two points of view.

First, the clocks themselves: did they jump cleanly and sharply exactly as required?

Second, at the protocol level, that is with respect to the messages the servers send to the computers that rely on them: did they inform them properly of the upcoming leap?

Overall, we found that, at most, 61% of the servers were performing correctly. Many of the servers are well known and highly utilised, potentially impacting thousands of clients, possibly resulting in security vulnerabilities.

An expanded experiment is currently underway for the 2016 event, involving almost 500 servers, including from the widely used ntppool project.

This is part of a broader network timing project at UTS led by myself together with Dr Yi Cao, which aims to refashion the global system, and in particular to make it scale in a trusted way to the Internet of Things.

Finally, we must point out that leap seconds occur simultaneously across the globe, and it can’t be midnight everywhere.

Thus, as I confirmed with Dr Michael Wouters, responsible for Australia’s reference time at the National Measurement Institute, for us it will occur at 11am AEDT on January 1, 2017. Save the last sip till then.

The Conversation

Darryl Veitch, Professor of Computer Networking, University of Technology Sydney

This article was originally published on The Conversation. Read the original article.

Saturday, March 07, 2015

America Asks: When Does Daylight Saving Time Begin?

In the spirit of my February 2014 post, "America asks: What time is the Super Bowl?," today I help Americans who inquire about the start of Daylight Saving Time.

The answer, according to iDigital Times:

The spring Daylight Saving Time change in the United States begins on the 2nd Sunday in March. This year, that date is Sunday, March 8, 2015 at 2 am. Therefore, Americans in most of the 50 states should prepare spring forward, setting their clocks forward one hour at 2 am on Sunday, March 8, 2015
For the answer to a different form of the question -- when did Daylight Saving Time begin? -- let's turn to Backstory with the History Guys (Ed Ayers, Brian Balogh, and Peter Onuf). In an episode of the radio program rerun this weekend to coincide with the onset of Daylight Saving Time, they discuss the origins of the concept, by Ben Franklin in Paris:
BRIAN: That’s exactly right. I mean where did daylight savings time come from in the first place? I mean I don’t think it was around back in my time, where we were in perfect synchronicity with the world around us. So why did you guys invent this?

ED: Well, I think we’ve got to throw that to Peter because we know who came up with the idea for daylight savings time.

PETER: Well, it was that visionary Ben Franklin. He was all over daylight savings time.

In 1784, in the Journal of Paris, he was writing about well, the way they kept their time in Paris. And what they did is to sleep all morning because they were up all night. And Franklin did one of these calculations, a characteristic Enlightenment thing. And he’d count the number of candles that had to burn to sustain this misuse of daylight. And it would be an immense savings to the French people.

And they were going into debt at this period, badly into debt. And it led to the French Revolution. So no French Revolution, if they had had daylight savings time.

ED: And they might not have sold Louisiana to us if they wouldn’t had to pay for those candles.

PETER: Absolutely.
... and the origin of the practice, in the early 20th century:
ED: Franklin was the first to admit that he didn’t have the means to implement daylight savings time. So Karin, let’s put it Ed out of his misery. Daylight savings time in the United States started in 1918.

And there’s one thing that consistently in the 20th century got the whole country to go on daylight savings time and that was war. It was actually the Germans who first started daylight savings time in 1916.

BRIAN: So if we were going to fight, then we had to be on the same streets.

ED: Exactly.

PETER: Because you show at a battle and they wouldn’t be there.

ED: Well quite literally, the British did go on daylight savings time, a month later or very shortly after. The real point, Karin, is that Germany, Britain, the United States, go on daylight savings time because we can save energy. It was all about well, where are we spending most of our money on energy? And a lot of it was being spent on lighting when daylight savings time was first introduced and even during World War II.

Then we have this thing called air conditioning that comes along. So that when Richard Nixon, at the height of the energy crisis in the early 1970s, calls for extended daylight savings time, it’s not so clear that we’re really saving that much energy because people have started air conditioning their homes. They come home after work and if they’re in Dallas or Houston or Jacksonville, they turn on the air. And that uses a lot of energy.
When I was younger, Daylight Saving Time began in April and ended in October, so it was about (or a bit less than) half the year. Now it begins in March and ends in November, so Daylight Saving Time actually makes up a greater part of the year than Standard Time. By that standard, so to speak, shouldn't the period of the year now known as Daylight Saving Time be called "Standard Time" and what's now called "Standard Time" be called "Winter Time"?

We'll have an extra hour to think about it next fall.