Thanks a ton, Michael! That’s exactly what I needed. I didn’t realize $dateTrunc handled timezone offsets so cleanly, super helpful. I’ll give this a try with my local timezone and see how it goes. Really appreciate you including the example too!
2 Likes