I'm wondering how this will work when there are load balanced servers in different time zones?  The database unfortunately doesn't store dates in UTC so this will probably not work if one of the servers is in a different timezone than the database.