Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For reports by local date, I’d convert both local midnights to timestamptz separately, then filter with ts >= start AND ts < end. If you take the first midnight and just add 24 hours, you can miss an hour or pull in an hour from the next day when the clocks change
 help



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: