+ Reply to Thread
Results 1 to 5 of 5

Convert date and time format

  1. #1
    Registered User
    Join Date
    10-15-2019
    Location
    London
    MS-Off Ver
    2016
    Posts
    62

    Convert date and time format

    Hello,

    I've been trying to automatically convert

    May 23, 2020 07:46 EDT

    to

    05/23/2020 07:46

    and I'm unable to do it, any help on this matter is appreciated, thanks.
    Attached Files Attached Files
    Last edited by mukuljain99; 05-23-2020 at 05:51 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,385

    Re: Convert date and time format

    It will depend on the nature of the workbook data.

    There are instructions at the top of the page explaining how to attach your sample workbook.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    10-15-2019
    Location
    London
    MS-Off Ver
    2016
    Posts
    62

    Re: Convert date and time format

    attached workbook for reference

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,385

    Re: Convert date and time format

    This should work:

    =DATE(MID(A1,FIND(",",A1)+2,4),MONTH(DATEVALUE(LEFT(A1,FIND(" ",A1)-1)&" 1")),SUBSTITUTE(MID(A1,FIND(" ",A1)+1,2),",",""))+TIMEVALUE(MID(A1,FIND(":",A1)-2,5))

    Make sure you set the cell formatting to custom: dd/mm/yyyy hh:mm

  5. #5
    Registered User
    Join Date
    10-15-2019
    Location
    London
    MS-Off Ver
    2016
    Posts
    62

    Re: Convert date and time format

    Solved, thanks.

+ 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. Replies: 2
    Last Post: 02-06-2020, 10:04 AM
  2. [SOLVED] How to convert Date and time format to only date in Column
    By prabhuduraraj09 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-29-2018, 08:28 AM
  3. [SOLVED] convert date and time to different format
    By freddie1 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-17-2017, 06:17 AM
  4. Convert Date and Time to Date - Format problems
    By eugbed in forum Excel General
    Replies: 5
    Last Post: 05-03-2015, 05:31 PM
  5. Convert date and time in serial number format to text format
    By nda13112 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-11-2013, 02:45 PM
  6. [SOLVED] How do I convert imported date/time data to date/time format?
    By andykent99 in forum Excel General
    Replies: 4
    Last Post: 01-03-2013, 07:47 AM
  7. convert Date Time format
    By yourskarthik in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-30-2009, 01:29 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