Search code examples
excelformulautceclipse-pdt

Excel formula to convert UTC time to Pacific Time


A system I am using provides UTC time in the following format. 20190802145655UT

What Excel formula could I use to convert this to a timestamp 8-2-19 7:56:55 AM? I've done a bunch of searches, but the format the time is provided in is giving me a hard time. (PDT should have been -7 hours that day.)

Thanks for any help in advance!


Solution

  • =TEXT(LEFT(A1,14),"0000-00-00 00\:00\:00")-7/24
    

    and format as "m-d-yy h:mm:ss AM/PM"

    enter image description here