+ Reply to Thread
Results 1 to 13 of 13

Need to convert "Fri Feb 23 2018 00:10:12 GMT+0100" to a usable Date and time

  1. #1
    Registered User
    Join Date
    02-05-2013
    Location
    Nigeria
    MS-Off Ver
    Excel 2007
    Posts
    10

    Need to convert "Fri Feb 23 2018 00:10:12 GMT+0100" to a usable Date and time

    Good day
    Please can someone assist with a formula to convert a list of dates in this format "Fri Feb 23 2018 00:10:12 GMT+0100" to a usable Date and time that can be use in a excel pivot table

  2. #2
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: Need to convert "Fri Feb 23 2018 00:10:12 GMT+0100" to a usable Date and time

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  3. #3
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: Need to convert "Fri Feb 23 2018 00:10:12 GMT+0100" to a usable Date and time

    Can you give more sample data?

    Attach a workbook with the sample data.

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Need to convert "Fri Feb 23 2018 00:10:12 GMT+0100" to a usable Date and time

    If you have the above data in A1
    use below formula to convert it in to data
    =(MID(MID(A1,5,20),5,2)&REPLACE(MID(A1,5,20),5,2,))+0
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  5. #5
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,913

    Re: Need to convert "Fri Feb 23 2018 00:10:12 GMT+0100" to a usable Date and time

    Or try:

    =--MID(REPLACE(A1,11,0,","),5,21)

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Need to convert "Fri Feb 23 2018 00:10:12 GMT+0100" to a usable Date and time

    That may even be a real date/time combo, cant say for sure without seeing some sample data
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  7. #7
    Registered User
    Join Date
    02-05-2013
    Location
    Nigeria
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Need to convert "Fri Feb 23 2018 00:10:12 GMT+0100" to a usable Date and time

    Many thanks for your replay

    I have attached a section of the file Ima working with.
    The date formula I am currently using is in row "J"

    Would really appreciate if i could get the time to display correctly as well.

    Many thanks
    Attached Files Attached Files

  8. #8
    Forum Expert kersplash's Avatar
    Join Date
    11-22-2016
    Location
    Perth
    MS-Off Ver
    Home 2016 (Windows 10)/Work 2013 Pro Plus (Windows 10)
    Posts
    2,012

    Re: Need to convert "Fri Feb 23 2018 00:10:12 GMT+0100" to a usable Date and time

    Did you try the suggestions given already?

  9. #9
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Need to convert "Fri Feb 23 2018 00:10:12 GMT+0100" to a usable Date and time

    You were almost there...
    =DATEVALUE(MID(A2,9,2)& "-" & MID(A2,5,3) & "-" & MID(A2,12,4))+--MID(A2,17,8)

  10. #10
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Need to convert "Fri Feb 23 2018 00:10:12 GMT+0100" to a usable Date and time

    This will also work...
    =--(MID(A2,9,2)& "-" & MID(A2,5,3) & "-" & MID(A2,12,4))+--MID(A2,17,8)

  11. #11
    Registered User
    Join Date
    02-05-2013
    Location
    Nigeria
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: Need to convert "Fri Feb 23 2018 00:10:12 GMT+0100" to a usable Date and time

    Thank you all. Problem solved. The format I was using did not show the "seconds"

  12. #12
    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,208

    Re: Need to convert "Fri Feb 23 2018 00:10:12 GMT+0100" to a usable Date and time

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  13. #13
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Need to convert "Fri Feb 23 2018 00:10:12 GMT+0100" to a usable Date and time

    Thanks for the feedback

+ 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 column of e-mail addresses into a usable list delimited by "; "
    By scooterholiday in forum Excel General
    Replies: 1
    Last Post: 02-17-2014, 12:04 PM
  2. [SOLVED] Excel 2007: How to Convert "5/2/2013" to "May" then subtract a Month so it's "Apr"
    By Golom in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-19-2013, 02:00 AM
  3. [SOLVED] How to convert "26:38:00" to "26:38" when the cell is formatted as Time?
    By PistachioPedro in forum Excel General
    Replies: 2
    Last Post: 11-15-2013, 06:49 PM
  4. Covert text date "Apr 13/10" to usable format
    By Xx7 in forum Excel General
    Replies: 4
    Last Post: 11-22-2011, 09:01 PM
  5. Extract "Time" from custom "Date and Time" format
    By ben_patto in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-24-2009, 08:47 PM
  6. Convert "Time Interval" in "hours : minutes : seconds" to seconds
    By deano27 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-28-2008, 09:07 AM
  7. Replies: 7
    Last Post: 05-08-2005, 04: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