Skip to main content
Solved

Audi Log TIME (ISO-8601) Conversion

  • Oct 28, 2024 7:04 PM UTC
  • 0 replies
  • 204 views

JimHarrison
Forum|alt.badge.img+18

Wondering if anyone has done the work to convert the Quickbase Audit Log Timestamp to local time? 

I export the logs via CSV and then am working towards a process to convert the "2024-10-28T15:53:25.956Z" timestamp to PST. I'm seeing it as a multistep process involving text to columns and then math. 

If you have a simpler solution, I would appreciate hearing how its done. 

Thanks,

Best answer by JimHarrison

ChatGPT to the rescue.
=TIMEVALUE(MID(A2,12,8)) - TIME(7,0,0)

=DATEVALUE(LEFT(A2,10))



View original
This topic has been closed for replies.

Forum|alt.badge.img+19
  • Qrew Champion
  • Oct 28, 2024 7:37 PM UTC

Jim,

There is no time zones in the date/time function of Excel.  The math gets very tricky when the calculation will take you back across midnight.

1 AM GMT on the 5th is 6PM on the 4th assuming there is no Daylight Saving Time issues.   

I would import this back in to Quickbase and have a Pipeline update a new field with a conversion to the timezone that you want.

 


JimHarrison
Forum|alt.badge.img+18
  • Author
  • Qrew Colonel
  • Answer
  • Oct 28, 2024 8:23 PM UTC

ChatGPT to the rescue.
=TIMEVALUE(MID(A2,12,8)) - TIME(7,0,0)

=DATEVALUE(LEFT(A2,10))