1.2. About Time Zones - UTC and time zone offsets
- [Voiceover] In this movie, we'll learn how computers work with and represent time zones. In computers, the standard time we use is called
UTC. That stands for
Coordinated Universal Time. I know, the order of the letters in the abbreviation doesn't match the order of those words. The abbreviation was a political compromise. I usually thing of UTC as being
Universal Time Coordinated, but that's actually incorrect.
It's Coordinated Universal Time. It was created in 1960 and it is based on
Greenwich Mean Time.
So as a
shorthand, you can just think of UTC as being equal to
GMT, but it's a little different, because it coordinates the time between many different countries, and it combines scientific observations about atomic time and also astronomical observation. So you can think of UTC as being Greenwich Mean Time plus international agreement and more technical precision. So that's what we're going to use for computers. It's the most precise time that we have to work with. Now the way that we write UTC is usually by having the hour, a colon, and the number of minutes followed by space, UTC.
And that lets us know that this is the time in UTC, or at zero degrees longitude. It can also be designated as Z for zero
UTC offset, that would be zero eight, colon, four five, Z. And for this reason, it's also nicknamed
Zulu time. You may have heard that before and not knew what it was. But if we're talking about Zulu time, we're also talking about UTC or Greenwich Mean Time. Now from UTC we have a number of offsets, and that tells us how far or behind a time zone is from UTC.
For example,
U.S. Eastern Standard Time has an offset of minus five hours. So that means that 5:00am in
EST would be 10:00am in UTC. It's five hours behind UTC. Another example would be that
China Standard Time has an offset of plus eight hours, so when it's 10:00am in UTC it's 6:00pm in
CST, eight hours ahead. The way that we typically write that when we're working with computers is that we would write the hour, colon, the minute, colon, and then the seconds if we want that level of precision, followed by minus zero five, colon, zero, to let us know that it's five hours before UTC.
The offset if minus five.
Sometimes you'll also see a space between the time and the offset, or you may see the date included, as well. So you might see something like this: the year, the month, the day, space, then the hour, the minute, the second, space, and then the offset
. If the time were ahead of UTC, then you would use a plus
sign. For example, this would be
Chinese Standard Time, plus zero eight. You would also sometimes see a capital T separating the date from the time, so don't be surprised if you see that, that gives us a way to write it all with no spaces, but still know where the separation is between the date portion and the time portion.
So it's date, capital T, time, plus or minus, and then the offset that we have. So that's what you need to know about UTC, what it is, and how we write it. You want to keep these points in mind as we work with time zones in a future chapter.