Calculation Issues

Convert UTC to Local Time with Daylight Saving Time in Excel

Natalie TaylorNatalie Taylor Nov 18, 2026 873 views

Question details

Convert UTC timestamps to local time using the correct daylight saving offset at each transition.

Convert UTC to Local Time with Daylight Saving Time in Excel
Product
Microsoft Excel and WPS Spreadsheets
Device & OS
not provided
Scenario
A spreadsheet uses a five-hour offset during daylight saving time and a six-hour offset otherwise.
Observed behavior
A month-based test applies the wrong offset to timestamps near the daylight saving transitions.
Before you start

Confirm that your source values are UTC date-times stored as spreadsheet date and time values, and identify the destination time zone. The example below uses US Central Time rules in effect since 2007; other zones or historical dates may require different rules.

Solution 1Recommended

Calculate US Central daylight saving transitions in Excel

Use this formula-based method to apply the correct UTC offset for US Central Time under the rules in effect since 2007.

US Central daylight saving time starts at 08:00 UTC on the second Sunday in March and ends at 07:00 UTC on the first Sunday in November. Comparing UTC timestamps against those boundaries avoids relying on the month alone.

1
Enter the UTC timestamp

Enter a UTC date and time in cell A2. In D2, enter =YEAR(A2) to obtain the UTC year.

2
Calculate the start boundary

In E2, enter =DATE(D2,3,8)+MOD(1-WEEKDAY(DATE(D2,3,8),1),7)+TIME(8,0,0). This returns the daylight saving start time in UTC.

3
Calculate the end boundary

In F2, enter =DATE(D2,11,1)+MOD(1-WEEKDAY(DATE(D2,11,1),1),7)+TIME(7,0,0). This returns the daylight saving end time in UTC.

4
Convert and format the result

In B2, enter =A2-IF(AND(A2>=E2,A2<F2),5,6)/24. Format B2 as a date and time, then copy the formulas down for additional timestamps.

Calculate US Central daylight saving transitions in Excel
Check the applicable rules: This example does not cover every time zone or historical rule. Verify the rules for the location and years in your data, and update the formulas if those rules change. During the fall transition, two UTC timestamps can produce the same local clock time.
Convert UTC in WPS Spreadsheets

Calculate local time with daylight saving rules in WPS Spreadsheets

Use date and time formulas in WPS Spreadsheets to calculate US Central transition boundaries and apply the appropriate offset to each UTC timestamp.

  1. 1. Open your spreadsheet: Open the workbook in WPS Spreadsheets and enter a UTC date and time in A2.
  2. 2. Calculate the year and start: Enter =YEAR(A2) in D2, then enter =DATE(D2,3,8)+MOD(1-WEEKDAY(DATE(D2,3,8),1),7)+TIME(8,0,0) in E2.
  3. 3. Calculate the end: Enter =DATE(D2,11,1)+MOD(1-WEEKDAY(DATE(D2,11,1),1),7)+TIME(7,0,0) in F2.
  4. 4. Convert the timestamp: Enter =A2-IF(AND(A2>=E2,A2<F2),5,6)/24 in B2, format B2 as a date and time, and copy the formulas down as needed.
Compare timestamps with exact daylight saving transition timesOpen and edit Microsoft Excel XLSX filesUse familiar spreadsheet formulas and date formatting
microsoft office alternative - wps office

Frequently Asked Questions

Why does checking only the month give the wrong local time?

Daylight saving time starts and ends on specific dates and at specific times, not at the beginning or end of a month. Compare the UTC timestamp with the actual transition boundaries instead.

What happens to the repeated hour when clocks fall back?

Two different UTC timestamps can map to the same local clock time. Converting from UTC selects the correct offset, but the displayed local time alone does not identify which occurrence it represents.

Can I use NOW() to tell which occurrence of a repeated local time I have?

No. A local clock value such as NOW() does not by itself indicate whether a repeated time is before or after the clock change. Retain the UTC timestamp or an explicit offset to distinguish them.

Will the example formulas work for every time zone?

No. They use US Central Time transition rules in effect since 2007. For another location or historical period, use that location's applicable transition dates and offsets, or maintain a time-zone lookup table.