Resources

An easy way to convert UTC time to local time

Dates and times are two of the most frustrating data types to deal with. You have differing formats, conventions, leap years, and time zones to think about. And because these vary depending on where you are in the world, it only adds to the confusion.

Many downloadable datasets on the web use Universal Coordinated Time (UTC), the primary time standard time zones are based on.

As UTC is fixed, it doesn't change throughout the year as many time zones do, so the advantage is obvious: less hassle.

The issue is these datasets often assume users know what format the dates and times are in by not labelling the columns explicitly.

Some people lack familiarity with the standard, so they can easily fall into the trap of thinking the values are based on their current location.

This becomes especially important in scenarios where date and time data is a fundamental part of the analysis process.

In any case, you can insert an additional column that converts the UTC values to a local or another time zone for convenience.

Solution

The calculation is:

(UTC date/time) +/- (Hours offset ÷ 24)

In the video example, A2:A6 contains a set of dates and times in UTC format.

=A2:A6+(11/24) converts the range to Australian Eastern Daylight Time Zone (AEDT) by adding 11 hours to each.

=A2:A6-(4/24) converts the range to Eastern Daylight Time (EDT) by taking away four hours from each.

Always be sure you know what time zone your dataset uses!

For more Excel tips and tricks like this, check out our Video Tutorials page.

Andrew Moss
About the Author

Andrew Moss

Andrew is a technical writer who specialises in Microsoft Excel and data analysis. He has published hundreds of articles and social media posts aimed at helping people enhance their skills and spreading good practices.

Conversation

0 Comments

As you comment, let's keep the discussion friendly and respectful to add value to the conversation.

Thank you! Your comment has been sent!
Oops! Something went wrong while submitting the form.
Commenter profile pic.
Author Name
Comment Time

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere. uis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

Reply
Delete
Commenter profile pic.
Author Name
Comment Time

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere. uis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

Reply
Delete

Get Tickets

Benefit from an award-winning 3-day conference plus access to exclusive networking and additional Masterclass events.

Get Tickets
Close Cookie Popup
Cookie Preferences
By clicking “Accept All”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage and assist in our marketing efforts as outlined in our privacy policy.
Strictly Necessary (Always Active)
Cookies required to enable basic website functionality.
Cookies helping us understand how this website performs, how visitors interact with the site, and whether there may be technical issues.
Cookies used to deliver advertising that is more relevant to you and your interests.
Cookies allowing the website to remember choices you make (such as your user name, language, or the region you are in).