+ Reply to Thread
Results 1 to 4 of 4

Converting UTC to EST (with "T" and "Z" in timestamp / ISO 8601)

  1. #1
    Registered User
    Join Date
    05-04-2015
    Location
    NH
    MS-Off Ver
    Office 365
    Posts
    28

    Converting UTC to EST (with "T" and "Z" in timestamp / ISO 8601)

    How can I convert a timestamp in the format 2021-06-13T01:36:28Z (ISO 8601) to EST?
    Last edited by ccarmichael; 02-22-2022 at 05:09 PM.

  2. #2
    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
    30,880

    Re: Converting UTC to EST (with "T" and "Z" in timestamp / ISO 8601)

    With timestamp in A1

    in B1

    =DATEVALUE(LEFT(A1,10)) Date

    in C1

    =TIMEVALUE(MID(A1,12,8)) UCT

    in D1 (EST)

    =B1+C1-5/24 (following example in Ben's post below!!!)
    Last edited by JohnTopley; 02-22-2022 at 05:43 PM.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,960

    Re: Converting UTC to EST (with "T" and "Z" in timestamp / ISO 8601)

    Please Login or Register  to view this content.
    format: dddd mm/dd/yyyy hh:mm;@
    Ben Van Johnson

  4. #4
    Registered User
    Join Date
    03-30-2020
    Location
    Phoenix, AZ
    MS-Off Ver
    MS Office 365 Business
    Posts
    5

    Re: Converting UTC to EST (with "T" and "Z" in timestamp / ISO 8601)

    Big help, thank you!

    I'm making a tool for college football season predictions. I found a source online for the schedules that has everything I need, EXCEPT the dates/times for all the games are in UTC.

    My goal was to convert the UTC to local kickoff time, account for different time zones for 130+ FBS teams. There's a big difference between a team kicking off at 4pm their time vs 7pm. Home teams are nuclear hot for night games, especially if they haven't had one in a while. I also needed to account for Daylight Savings Time changes based on the game date, and account for the 3 teams that don't follow it (Hawai'i, Arizona State, Arizona)

    I ended up combining this formula with some IF statements. It's a bunch of ratchet-*** Excel but hey if it works it works right?

    Basically it does two IF statements for each time zone: does a VLOOKUP to find the Home Team's time zone, then two calculations: one for Standard Time and one for Daylight Savings Time (based on the game date).

    I have no doubt there's a simpler way to do it but hey, it's done.

    Attachment 840871

    Attachment 840872

+ 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. Timestamp macro that cannot be overwritten by another timestamp
    By xgingerkingx in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-12-2020, 01:06 PM
  2. Help with converting Timestamp into minutes
    By Rythwin in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 02-10-2020, 01:08 AM
  3. Replies: 2
    Last Post: 11-09-2016, 02:23 PM
  4. [SOLVED] VBA - Convert Date/Timestamp into American Date and Military Timestamp
    By ryanmorris in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-01-2015, 03:43 PM
  5. Figuring out and then converting a timestamp in Excel
    By SEMMatt in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-03-2014, 10:42 AM
  6. When a timestamp doesn't behave as a timestamp
    By mredekopp in forum Excel General
    Replies: 3
    Last Post: 03-07-2011, 03:39 PM
  7. Converting timestamp to correct days/hours for sorting
    By redbrad0 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-10-2010, 06:39 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