Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Converting UTC Times to Local Times.
Written by Allen Wyatt (last updated February 11, 2021)
This tip applies to Excel 97, 2000, 2002, and 2003
Brian lives in Australia and needs to convert a UTC time into his local time. Problem is, he doesn't know how to go about doing it.
UTC is an abbreviation for Coordinated Universal Time. (Yes, I know it looks like the abbreviation letters are out of order. They are; this is why it isn't an acronym. The abbreviation is—believe it or not—based on a political compromise.) UTC is equivalent to International Atomic Time with leap seconds added at irregular intervals to compensate for the Earth's slowing rotation. UTC is never out of synch with GMT (Greenwich Meridian Time) by more than nine tenths of a second, so the two (UTC and GMT) are virtually equivalent in common usage.
Because of this, all you need to do to convert from UTC to a local time is to figure out how many hours your time varies from GMT. There are any number of Websites you can visit to determine such information; the following is an example of one you can use. (Just click a city near you that you know is on the same time zone as you, then look at the resulting time to see how many hours different you are from GMT.)
http://www.timeanddate.com/worldclock/
If you are near Sydney, Australia, you can see that your local time is ten hours ahead of GMT. This means that to determine the local time if you know UTC, all you need to do is add ten hours to that time. If the UTC is in cell B3 in Excel's date and time format, then you could use either of these formulas:
=B3 + TIME(10,0,0) =B3 + (10 / 24)
You should understand that these formulas don't account of Daylight Savings Time. If you live in an area that implements some sort of time adjustment scheme (such as DST), then you will need to adjust your formulas accordingly. This means that if you are near Sydney you need to figure out when DST starts and ends, and if you are currently affected by DST you will need to add eleven hours to your UTC value.
You can find more information about adjusting local times to GMT (or, if you will, UTC) by visiting this tip:
http://excel.tips.net/T002185
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (3440) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Converting UTC Times to Local Times.
Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!
Want to know how much of a time difference there is between your machine and a different machine? This tip provides some ...
Discover MoreExcel allows you to store dates in a cell. Wouldn't it be great if you could select a cell containing a date and then ...
Discover MoreEnter information into a worksheet, and you come to anticipate (and count on) how Excel will interpret that information ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
2022-01-26 04:55:50
Baby Jane Brito
How to convert utc with milliseconds? E.g. UTC is 01:20:25.237 and I want it to be converted in local time (+8hrs)not losing the milliseconds 09:20:25.237
Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon interface.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2024 Sharon Parq Associates, Inc.
Comments