+ Reply to Thread
Results 1 to 4 of 4

Convert Unix Date-time stamp to excel date and/or time columns

  1. #1
    Registered User
    Join Date
    05-13-2015
    Location
    Ontario, Canada
    MS-Off Ver
    14.2.0 for Mac
    Posts
    4

    Convert Unix Date-time stamp to excel date and/or time columns

    I have a few sheets that contain a column with a Unix time-date stamp of the format: 2014-10-21T04:00:00.000Z

    (for midnight October 21, 2014). Is there a way to convert this into two excel columns—one for date, the other for time?

    Thanks

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,468

    Re: Convert Unix Date-time stamp to excel date and/or time columns

    =DATEVALUE(LEFT(A1,10))
    =TIMEVALUE(MID(A1,12,8))

    Format the first cell as date
    Format the second cell as time. I prefer a custom "hh:mm:ss".
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Registered User
    Join Date
    05-13-2015
    Location
    Ontario, Canada
    MS-Off Ver
    14.2.0 for Mac
    Posts
    4

    Re: Convert Unix Date-time stamp to excel date and/or time columns

    You are awesome!!!!

    Thank-you so much Daffodil11, I was toiling for hours : )

  4. #4
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,468

    Re: Convert Unix Date-time stamp to excel date and/or time columns

    No problem, glad I could help out. I love me some string manipulations.

+ 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. Power Query convert Unix time to a date
    By logisteve in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-20-2015, 06:25 PM
  2. [SOLVED] Convert Unix timestamp to Readable Date/time
    By Emily in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-26-2006, 08:00 PM
  3. Date to Unix time stamp?
    By Newbie in forum Excel General
    Replies: 2
    Last Post: 07-20-2005, 08:05 PM
  4. [SOLVED] Excel Date Time to Unix Time
    By jnorton in forum Excel General
    Replies: 3
    Last Post: 05-24-2005, 01:06 PM
  5. [SOLVED] Excel Date Time to Unix Time
    By jnorton in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-24-2005, 01:06 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