+ Reply to Thread
Results 1 to 3 of 3

Convert YYYYMMDD HH:MM:SS to MM/DD/YY HH:MM:SS

  1. #1
    Registered User
    Join Date
    04-25-2012
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    91

    Convert YYYYMMDD HH:MM:SS to MM/DD/YY HH:MM:SS

    Hello,

    I have the following cell value.

    20140203 16:36:47

    I want to convert this to MM/DD/YY HH:MM:SS format.

    Thanks

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,726

    Re: Convert YYYYMMDD HH:MM:SS to MM/DD/YY HH:MM:SS

    Assuming that is in cell A1, put this in B1:

    =DATE(LEFT(A1,4),MID(A1,5,2),MID(A1,7,2)) + TIMEVALUE(RIGHT(A1,8))

    Format that cell in the style that you prefer.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    04-25-2012
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    91

    Re: Convert YYYYMMDD HH:MM:SS to MM/DD/YY HH:MM:SS

    Perfect!

    Thank you

+ 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 dd.mm.yyyy to yyyymmdd
    By Temjin in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-02-2013, 04:19 AM
  2. [SOLVED] macro to convert YYYYMMDD into DD/MM/YYYY
    By Vogelmann in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 10-29-2012, 12:29 PM
  3. can not convert yyyymmdd to yyyymm
    By dschmitt in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-14-2010, 10:56 PM
  4. Convert Date from YYYYMMDD Format
    By chris_h_465 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-09-2009, 11:54 AM
  5. [SOLVED] I need to convert a series of DOB's from yyyymmdd to mmddyyyy
    By CoachCY in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-21-2006, 10:55 AM

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