Forum Discussion

jay_sharma_909's avatar
jay_sharma_909
Copper Contributor
Sep 27, 2022
Solved

date format

how do you format  "Tue, 13 Sep 2022 20:11:32 GMT" to  "mm/dd/yyyy h:mm" ? Thanks
  • HansVogelaar's avatar
    Sep 27, 2022

    jay_sharma_909 

    You cannot simply format such a value as date/time since Excel does not recognize it as a date/time.

    Let's say you have such a value in A2.

    Enter the following formula in B2, and format B2 as mm/dd/yyyy h:mm.

    You can fill this down if required.

     

    =1*SUBSTITUTE(MID(A2,6,50)," GMT","")

Resources