How do I change this to "text" or another formula in order to change data from this format to "day"

Anonymous 200 Reputation points
2025-09-08T12:56:51.81+00:00

User's image

Microsoft 365 and Office | Excel | For business | Android
0 comments No comments
{count} votes

5 answers

Sort by: Most helpful
  1. Gabriel-N 9,875 Reputation points Microsoft External Staff Moderator
    2025-09-08T13:23:41.2533333+00:00

    Hi Anonymous

    Thank you for contacting Q&A Forum.

    The timestamp you provided:2025-08-01T00:00:00.000-04:00 is in ISO 8601 format, which is a standardized way to represent date and time including timezone offset.

    To convert it into a readable format, you can use the following formula

    =DATEVALUE(MID(b2,1,10))+TIMEVALUE(MID(b2,12,8))
    

    or

    =TEXT(DATEVALUE(MID(c2,1,10)), "dddd")
    
    

    Hope this can help you out!


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Anonymous 200 Reputation points
    2025-09-08T16:28:25.38+00:00

    I have never used "sql" before ??


  3. Ashish Mathur 100.8K Reputation points Volunteer Moderator
    2025-09-12T23:10:55.4333333+00:00

    Hi,

    Select the range of cells and press Ctrl+H. In the Find What box, type T* (T and star). Click on Replace All.

    0 comments No comments

  4. Ashish Mathur 100.8K Reputation points Volunteer Moderator
    2025-09-12T23:14:20.6733333+00:00

    This code in Power Query works as well

    let
        Source = Excel.CurrentWorkbook(){[Name="Data"]}[Content],
        #"Changed Type" = Table.TransformColumnTypes(Source,{{"StartInterval", type datetimezone}}),
        #"Added Custom" = Table.AddColumn(#"Changed Type", "Custom", each DateTimeZone.RemoveZone([StartInterval]), type date)
    in
        #"Added Custom"
    

    User's image

    0 comments No comments

  5. IlirU 1,356 Reputation points Volunteer Moderator
    2025-09-13T10:03:03.7333333+00:00

    User's image

    Try this formula in cell D2:

    =--LEFT(B2:B4, 10)

    or this formula:

    =--REGEXEXTRACT(B2:B4, "^.{10}")

    Format cells as date.

    Hope this helps.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.