+ Reply to Thread
Results 1 to 3 of 3

text to timestamp conversion

  1. #1
    Registered User
    Join Date
    03-29-2013
    Location
    Chennai
    MS-Off Ver
    Excel 2007,2010
    Posts
    1

    text to timestamp conversion

    Hi Friends,

    Can you please let me know how to convert 19MAR13:14:16:36 into yyyy-mm-dd hh:mm:ss format. I have both 2007 and 2010 versions

    Thanks in advance

    Regards,
    Nive

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: text to timestamp conversion

    hi Nive, welcome to the forum. try:
    =--LEFT(A1,FIND(":",A1)-1)+MID(A1,FIND(":",A1)+1,LEN(A1))

    then format cell as you desire

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: text to timestamp conversion

    With your text
    A1: 19MAR13:14:16:36

    This regular formula converts it to an Excel Date/Time value
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Format that cell the way you want:
    • Select the cells to be formatted
    • CTRL+1...to open the formatting window
    ...Category: custom
    ...Type: yyyy-mm-dd hh:mm:ss
    ...Click: Ok

    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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