I did not find a simple answer to this question while I looked around, so I thought I would put it here if someone had the same problem as me with what should have been a trivial problem.
I used ReDash analytics with Google BigQuery and included Standard SQL in the data source settings. For the purposes of my query, I needed to convert the timestamp - the unix time in milliseconds, as a string - to the date format so that I could use the DATE_DIFF method.
As an example ... "1494865480000"to"2017-05-15"
The difficulty was that the casting and conversion were excessively strict, and there was no adequate way to make it parse. See my answer below! (Although let me know if any SQL sensei knows a more eloquent way!)
source
share