A sign that, perhaps, that your coding isn't going the way you hoped:
# This can only be described as a godawful, vomitous,
# appalling hack. I hang my head in shame. But it really
# does look like I can't just pull events for a single
# 24-hour day, but instead have to resort to godless
# ugliness such as this. To whoever reads this after
# me: you have my abject apologies. Hope you never
# have to modify this mess.