Looking at the Date/Time Athena documentation, I don't see a function to do this, which surprises me. The closest I see is date_trunc('week', timestamp)
but that results in something like 2017-07-09 00:00:00.000
while I would like the format to be 2017-07-09
Is there an easy function to convert a timestamp to a date?