+ Reply to Thread
Results 1 to 5 of 5

Convert date/time FROM UTC into EST with daylight savings.

  1. #1
    Registered User
    Join Date
    09-04-2015
    Location
    Washington, DC
    MS-Off Ver
    2010
    Posts
    2

    Convert date/time FROM UTC into EST with daylight savings.

    Hello,
    I'm trying to convert two separate columns that contain the date (MM/DD/YYYY) in the first column and the time (HH:MM:SS) in the second column. The time is in UTC and I'd like to be able to covert it into EST/CST/PST with daylight savings time along with the correct date in column A1.

    Here is an example of what I have
    DATE TIME
    1/1/2015 0:00:04
    1/1/2015 0:00:05


    Here is what I'd like to have as a result (for EST):
    DATE TIME
    12/31/2014 19:00:04
    12/31/2014 19:00:05

    Thanks

  2. #2
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Convert date/time FROM UTC into EST with daylight savings.

    Hi

    If you want a date time result in one cell use the formula =A2+B2-5/24 (A2 is a date and B2 is time)
    If you want the result in tow cells use the formula =INT(A2+B2-5/24) for date and =MOD((A2+B2-5/24,10) for the time.

    Best regards

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,196

    Re: Convert date/time FROM UTC into EST with daylight savings.

    Try

    =A2-TIME(5,0,0)

    Or 4 if Daylight saving (?)

  4. #4
    Registered User
    Join Date
    09-04-2015
    Location
    Washington, DC
    MS-Off Ver
    2010
    Posts
    2

    Re: Convert date/time FROM UTC into EST with daylight savings.

    Thanks all for the assistance. Will Excel automatically "know" when daylight savings time is based on the date/time or is this a variable I have to account for in my process ?

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,196

    Re: Convert date/time FROM UTC into EST with daylight savings.


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Convert time accounting for daylight savings [Australian (non-US) dates]
    By AdamJaffrey in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-15-2016, 11:30 PM
  2. Daylight saving time
    By nsv in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 09-04-2016, 04:13 PM
  3. Tricky one - Daylight Saving Time/DST/Wintertime and leap years. How to?
    By Daniel86 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-13-2012, 01:25 AM
  4. Shift Cells according to daylight savings
    By freud1 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-06-2011, 05:16 PM
  5. Daylight Savings Conversions Excel VBA
    By JudyK in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-12-2011, 09:34 PM
  6. Adjust Large Number of Cells for Daylight Saving Time
    By twills in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-31-2009, 12:00 PM
  7. [SOLVED] Excel VB determining if eastern standard or daylight savings time
    By Heidi in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-14-2005, 04:40 PM
  8. daylight savings time on vlookup
    By guideme in forum Excel General
    Replies: 5
    Last Post: 06-12-2005, 05:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1