Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Spreadsheets (https://www.askmehelpdesk.com/forumdisplay.php?f=395)
-   -   Date conversion (https://www.askmehelpdesk.com/showthread.php?t=703710)

  • Sep 21, 2012, 03:58 AM
    aks0611
    Date conversion
    I have got date format as "12082010".how to convert that in dd-mm-yyyy.
  • Sep 21, 2012, 04:46 AM
    ScottGem
    First, its not a good idea to piggyback your question on another thread. To avoid confusion your question has been moved to its own thread.

    Assuming that format is mmddyyyy, you can use the Left, Mid and Right functions along with the Date function to parse the date:

    =DATE(RIGHT(A1,2),LEFT(A1,2),MID(A1,3,2))

    where A1 is the cell where the4 date string is.
  • Sep 21, 2012, 05:19 AM
    aks0611
    Thnks for the reply it wrks.

  • All times are GMT -7. The time now is 12:50 AM.