The database stored timestamps in a really weird way, and figuring out how to compare it in the relevant ways was what took up the most time and concentration. I ended up using BETWEEN, which was a fascinating sorting method that I will be storing away in my head for future use. |