Convert date time from UTC to EST

Helen T

New Member
Joined
Dec 14, 2016
Messages
4
Hello,

My first post! I am trying to convert spreadsheet from UTC time and date to EST. My formulas for Column C is =MOD(B13-(5/24),1). But for the first 4 rows the time does not convert to 11/11/2016 as it should be. Another way I tried was =B13 -"05:00:00" which also converts the time but not the date. Can anyone help?

DateTimeEST
11/12/201600:53:37 19:53:37
11/12/2016 00:54:0919:54:09
11/12/201600:54:4519:54:45
11/12/201600:57:0119:57:01
11/12/201601:56:2720:56:27
11/12/201602:20:4321:20:43
11/12/201602:51:2121:51:21
11/12/201609:10:5404:10:54

<colgroup><col><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

DRSteele

Well-known Member
Joined
Mar 31, 2015
Messages
2,434
Office Version
  1. 365
Platform
  1. Windows
Welcome to the forum.

I think this is what you're after. I have formatted columns C and D as a Custom format (m/d/yyyy h:mm:ss).

ABCD
1UTC DateUTC TimeUTC D&TEST D&T
211/12/20160:53:3711/12/2016 0:53:3711/11/2016 19:53:37
311/12/20160:54:0911/12/2016 0:54:0911/11/2016 19:54:09
411/12/20160:54:4511/12/2016 0:54:4511/11/2016 19:54:45
511/12/20160:57:0111/12/2016 0:57:0111/11/2016 19:57:01
611/12/20161:56:2711/12/2016 1:56:2711/11/2016 20:56:27
711/12/20162:20:4311/12/2016 2:20:4311/11/2016 21:20:43
811/12/20162:51:2111/12/2016 2:51:2111/11/2016 21:51:21
911/12/20169:10:5411/12/2016 9:10:5411/12/2016 4:10:54

<colgroup><col style="width: 25pxpx"><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Sheet61

Worksheet Formulas
CellFormula
C2=A2+B2
D2=C2-5/24

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>
 

Helen T

New Member
Joined
Dec 14, 2016
Messages
4
I custom formatted by C column with mm/dd/yyyy hh:mm:ss and my results are: 09/26/2133 01:47:14, I am doing something wrong and then C is formatted =A2+B2. I've got a couple of Mr. Excel books that I'm checking but still don't see what I am doing wrong.


<colgroup><col><col><col><col><col><col><col><col><col span="4"><col span="2"><col><col><col span="6"><col><col><col><col><col span="2"><col span="4"><col><col span="2"><col><col><col><col><col><col><col><col></colgroup><tbody></tbody>
 

Helen T

New Member
Joined
Dec 14, 2016
Messages
4
I think I have it figured out- Both Column A & B show Date and Time so that portion is already calculated - so I just needed the second formula and it is now correct! thanks again for your assistance.
 

DRSteele

Well-known Member
Joined
Mar 31, 2015
Messages
2,434
Office Version
  1. 365
Platform
  1. Windows

ADVERTISEMENT

Dates and times in Excel present challenges. It's hard to know sometimes just what is in the cell. I'm glad you worked it out.
 

Fourester

New Member
Joined
Dec 10, 2020
Messages
1
Office Version
  1. 365
Platform
  1. Windows
DRSTEELE: that worked for me. To back convert to 2 columns, I just copied Column D twice and formatted on to date and one to time. Thanks!!!!
 
Learn Excel from Bill Jelen

Understanding data is crucial, and the easiest place to start is with Microsoft Excel.

Forum statistics

Threads
1,151,468
Messages
5,764,502
Members
425,219
Latest member
datdanigg

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top