How to convert UTC time to local time (2024)

INTRODUCTION

Microsoft uses Coordinated Universal Time (UTC) format, an international standard 24-hour timekeeping system, to document the created dates and times of files that are included in a software update. This article describes how to convert UTC to local time to verify that the file that is on your computer is the one that is discussed in the documentation.

More Information

To convert UTC to local time, follow these steps:

  1. Determine your local time offset from UTC time. To do this, follow these steps on a Microsoft Windows-based computer:

    1. Click Start, click Run, type timedate.cpl, and then click OK.

    2. Click the Time Zone tab, and then verify that your local time zone is selected. If your local time zone is not selected, click it in the list of available time zones.

      The local time offset is shown at the start of each local region list item. For example, -5:00 is the local time offset for Eastern Time (US & Canada):

      (GMT-5:00) Eastern Time (US & Canada)

  2. Add the local time offset to the UTC time.

    For example, if your local time offset is -5:00, and if the UTC time is shown as 11:00, add -5 to 11. The time setting when adjusted for offset is 06:00 (6:00 A.M.).

    Note The date also follows UTC format. For example, if your local time offset is -8:00, and if the file's UTC time is shown as 00:00 (12:00 midnight) on Monday, the adjusted time is 16:00 on Sunday (4:00 P.M., Sunday).

  3. Adjust for daylight saving time.

    UTC time is not adjusted to reflect daylight-saving time. If your time zone participates in daylight saving time, add the time difference to the file's offset-adjusted time when daylight saving time is in effect. For example, if daylight saving time in your time zone is one hour ahead of standard time, add one hour to the offset-adjusted time.

  4. Convert the 24-hour time format to 12-hour time format if your local time uses the 12-hour format. To make the conversion, follow these steps:

    • If the offset-adjusted time is between 12:01 and 23:59, inclusive, subtract 12 from the adjusted time, and then append P.M.

    • If the adjusted time is between 00:01 and 11:59, inclusive, leave the adjusted time as is, and then append A.M.

    • If the adjusted time is 00:00, use 12:00 midnight.

    • If the adjusted time is 12:00, use 12:00 noon.

Notes

  • You can use this method to compare the file's converted time to the time of a software update file that is on your computer.

  • When you view the file details of the file that is on your computer, the date in the Date Modified column may be different from the date in the Date Created column. If this difference occurs, use the date in the Date Modified column.

How to convert UTC time to local time (2024)

FAQs

How to convert UTC time to local time? ›

Examples of how to convert UTC to your local time

To convert 18:00 UTC (6:00 p.m.) into your local time, subtract 6 hours, to get 12 noon CST. During daylight saving (summer) time, you would only subtract 5 hours, so 18:00 UTC would convert to 1:00 p.m CDT.

How do you convert UTC to actual time? ›

Examples of how to convert UTC to your local time

To convert 18:00 UTC (6:00 p.m.) into your local time, subtract 6 hours, to get 12 noon CST. During daylight saving (summer) time, you would only subtract 5 hours, so 18:00 UTC would convert to 1:00 p.m CDT.

How to calculate local time from UTC time? ›

Add the local time offset to the UTC time. For example, if your local time offset is -5:00, and if the UTC time is shown as 11:00, add -5 to 11. The time setting when adjusted for offset is 06:00 (6:00 A.M.).

How do I change UTC time to EST? ›

To convert Universal Time (UT or UTC) to Eastern Standard Time (EST), subtract five hours from UT. Examples: 07:49:55 UT is the same as 02:49:55 EST, or 2:49:55 a.m. EST.

What is UTC time for the USA? ›

Generalized Time Zones in United States
Time Zone Abbreviation & NameOffset
PTPacific TimeUTC -8:00 / -7:00
MTMountain TimeUTC -7:00 / -6:00
CTCentral TimeUTC -6:00 / -5:00
ETEastern TimeUTC -5:00 / -4:00

How do you convert UTC to local time in moment? ›

  1. $(function(){
  2. setInterval(function(){
  3. var divUtc = $('#divUTC');
  4. var divLocal = $('#divLocal');
  5. //put UTC time into divUTC.
  6. divUtc. text(moment. utc(). format('YYYY-MM-DD HH:mm:ss'));
  7. //get text from divUTC and conver to local timezone.
  8. var localTime = moment. utc(divUtc. text()). toDate();

What is UTC vs local time format? ›

Times are expressed in UTC (Coordinated Universal Time), with a special UTC designator ("Z"). Times are expressed in local time, together with a time zone offset in hours and minutes. A time zone offset of "+hh:mm" indicates that the date/time uses a local time zone which is "hh" hours and "mm" minutes ahead of UTC.

How is UTC time calculated? ›

Since 1972, UTC may be calculated by subtracting the accumulated leap seconds from International Atomic Time (TAI), which is a coordinate time scale tracking notional proper time on the rotating surface of the Earth (the geoid).

How to convert UTC time to Eastern time in Excel? ›

To convert a UTC timestamp to EST, use the formula =DATEVALUE(LEFT(A2,10))+TIMEVALUE(MID(A2,12,8))-5/24. This subtracts 5 hours from the UTC time, reflecting the EST time zone being 5 hours behind UTC.

Is UTC always 5 hours ahead of EST? ›

Eastern Standard Time (EST), when observing standard time (autumn/winter), are five hours behind Coordinated Universal Time (UTC−05:00). Eastern Daylight Time (EDT), when observing daylight saving time (spring/summer), are four hours behind Coordinated Universal Time (UTC−04:00).

How do I convert timezone to UTC? ›

  1. pm IST. is. 7 am UTC.
  2. pm IST. is. 8 am UTC.
  3. pm IST. is. 9 am UTC.
  4. pm IST. is. 10 am UTC.
  5. pm IST. is. 11 am UTC.
  6. pm IST. is. 12 pm UTC.
  7. pm IST. is. 1 pm UTC.
  8. pm IST. is. 2 pm UTC.

How do I figure out my UTC time zone? ›

Use the following guideline in order to convert UTC in different time zones:
  1. Coordinated Universal Time (UTC) is 4 hours ahead of Eastern Time (EST)
  2. Coordinated Universal Time (UTC) is 6 hours ahead of Central Standard Time (CST).
  3. Coordinated Universal Time (UTC) is 6 hours ahead of Mountain Standard Time (MST).

How to get UTC time from timestamp? ›

Getting the UTC timestamp

datetime. now() to get the current date and time. Then use tzinfo class to convert our datetime to UTC. Lastly, use the timestamp() to convert the datetime object, in UTC, to get the UTC timestamp.

What is UTC timestamp format? ›

A time in UTC format looks like this: 13:14:15Z. That format contains 2-digits for the hour (13), based on a 24-hour clock, followed by two digits for minutes (14), and two digits for seconds (15), separated by colons (HH:mm:ss).

Top Articles
Latest Posts
Article information

Author: The Hon. Margery Christiansen

Last Updated:

Views: 5392

Rating: 5 / 5 (50 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: The Hon. Margery Christiansen

Birthday: 2000-07-07

Address: 5050 Breitenberg Knoll, New Robert, MI 45409

Phone: +2556892639372

Job: Investor Mining Engineer

Hobby: Sketching, Cosplaying, Glassblowing, Genealogy, Crocheting, Archery, Skateboarding

Introduction: My name is The Hon. Margery Christiansen, I am a bright, adorable, precious, inexpensive, gorgeous, comfortable, happy person who loves writing and wants to share my knowledge and understanding with you.